Disable prompt text

Hello all,
I have a form with a couple of database fields. I have to hide a field when it has a certain status. The problem is to hide the prompt of this item.
if c_pro%found then
set_item_property('FILES.DEINUSE', visible, property_true);
set_item_property('FILES.DEINUSE', enabled, property_true);
set_item_property('FILES.DEINUSE', update_allowed , property_true);
set_item_property('FILES.DEINUSE', displayed , property_true);
else
set_item_property('FILES.DEINUSE', visible, property_false);
set_item_property('FILES.DEINUSE', enabled, property_false);
The field is disabled en not visible, but the prompt remains visible. I have tried "PROMPT_DISPLAY_STYLE", but its not working. The prompt is a button above the field.
Thnx.

Hi,
Make sure the caption is the prompt of the item itself. If an item is hidden, then its prompt will also be hidden. The caption may be a independent Text. And we can't change the TEXT item's property runtime.
Regards,
Manu.
If my response or the response of another was helpful or Correct, please mark it accordingly

Similar Messages

  • Disable item text label

    I have a text item on a form, the item text's label is from the
    Prompt property. How can I disable (or gray out) the text label
    when disabling the text item using:
    set_item_property(item_id, enabled, property_false);
    Any help is greatly appreciated.
    Tho.

    Thank you very much, Micheal.
    It works.
    I created a Visual Attribute item (called Prompt_disab_attr)
    with Visual Attribute Type = Prompt and Prompt Foreground Color
    = gray52.
    The foreground color is not perfect yet, I need to play with the
    color.
    Thanks again.
    Tho.

  • How to use a radio button in enabling/disabling a text box in report progra

    Hi,
        Could any please let me know, how to use a radio button in enabling/disabling a text box in report program.

    *& Report  ZMR_RADIO_BUTTONS
    REPORT  ZMR_RADIO_BUTTONS.
    PARAMETERS : R1  RADIOBUTTON GROUP G1,
                 R2  RADIOBUTTON GROUP G1.
    PARAMETERS : A1 TYPE I,
                 A2 TYPE I.
    AT SELECTION-SCREEN OUTPUT.
    *initialization.
    IF R1 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    ENDLOOP.
    ENDIF.
    IF R2 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    modify screen.
    ENDLOOP.
    ENDIF.
    START-OF-SELECTION.
    *IF R1 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 1.
    ENDIF.
    *ENDLOOP.
    *ENDIF.
    *IF R2 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 0.
    ENDIF.
    *ENDLOOP.
    *ENDIF.

  • Validation on Disabled input text

    it seems <af:validateRegExp cannot work inside a <af:inputText disabled='true'>, is there any easy way to have this client side validation on a disabled input text in ADF?

    I am wondering if you could create a transient attribute in the EO that displays the data from the attribute. The "real" attribute would not be disabled, and would then validate.
    You then display the transient attribute on the form, and it would be non-update-able since it is transient.
    You could then place entity level validation on the entity (instead of on the attribute) since it is based on a second value in your form. Haven't tested it, but it would seem to be a solution.
    Stuart

  • How to disable the text field in File upload element?

    Hi,
    How can we disable the text field in the "File upload" UI element so that the user won't be able to type the file path there, but he will still be able to browse the file using the Browse button?
    Regards
    Praveen

    Hi Praveen,
    This is not possible with the Web Dynpro File Upload UI element.
    Thanks,
    Samta

  • Disable alt text in firefox

    is there a way to disable alt text to appear when an image is loading in firefox ? i hate it when my connection is slower to see the text before the image

    Hello 100k, this options does not exist, why do not try to make a little faster the image loading ?
    go to [http://kb.mozillazine.org/About:config about:config] find the [http://kb.mozillazine.org/Network.http.pipelining network.http.pipelining] and '''double-click on it''' to make it '''true'''.
    then, always in about:config, find [http://kb.mozillazine.org/Network.http.pipelining.maxrequests network.http.pipelining.maxrequests] and '''right-click on it''', select '''modify''' and put '''8''' as a value and click '''OK'''.
    thank you

  • Disabling prompts blocks InfoPath publishing

    I have a SharePoint 2010 Enterprise environment with InfoPath 2010.  Using several forms published as content types in several site collections, all working fine.
    Users are getting prompted Open/Save of documents in libraries (word, excel) - Office Web Apps installed, mime types in place etc.  Found many articles saying that the solution is to disable the verbs Options and Propfind to remedy this behavior. 
    I tested in Dev by modifying web.config with
    <verbs allowUnlisted="true">
    <add verb="OPTIONS" allowed="false" />
    <add verb="PROPFIND" allowed="false" />
    </verbs>
    Opening word & excel documents work as expected, hurray!
    Now attempting to
    publish InfoPath forms anywhere in the web app causes an error "URL is invalid".
    Researching that error typically points to the lack of a root site, which is not the case.  Removing the verb entry from web.config and the InfoPath forms publish fine.
    How can I disable prompting on Open for documents in the SharePoint libraries AND continue publishing InfoPath forms?
    [email protected]

    I think I might have misunderstood your issue, check out these posts
    https://support.microsoft.com/kb/943280/en-us?wa=wsignin1.0
     http://support.microsoft.com/kb/926642
    This is why the first link is important:
    Important This URL list does not affect  the security zone settings. This URL list is used only for the specific purpose of forwarding the credentials to WebDAV servers. The list should be created as restrictively as possible to avoid
    any security issues. Also, because there is no specific deny list, the credentials are forwarded to all the servers that match this list.
    The second link stops the prompting when opening a document via http, vs WebDAV.
    Stacy www.sharepointpapa.com

  • Disable Full Text Search in Records Management

    Hi Everyone,
    This is Shiva, we implemented SAP Records management & i am came in middle of this project. Right now client want to do some customizations in Records.
    Actually i need to disable Full Text Search under Records. Under Cross Query i disabled the Full text by the following process
    (Two sample element types are delivered with the service provider
    SRM_SP_QUERY:
    SRM_SPS_QUERY
    Search for records, documents, cases, record models and file plans
    SRM_SPS_QUERY_REC_DOC)
    Under(SPRO) Cross SP search based on Property Unification; you can able to disable the FullText search field(this will be effects only for Cross Query), but under Records, when you right click there will be one option called FIND in which i am unable to disable the FULL TEXT search.
    I used DMWB T-code under LOIO, i  search for Standard/free/instance attributes, but i didn't find any Full Text Search Field in that one.
    Can anyone please help me in this. I really appreciate your inputs & help.
    Thanks,
    Shiva.
    Edited by: Shivasap on Aug 2, 2010 6:01 PM
    Edited by: Shivasap on Aug 3, 2010 4:01 PM

    Dear Shiva,
    Full text search needs to be deactivated at content model level for attributes. You will find a document class in the element type of the record. In transaction DMWB, you will find LOIO & PHIO classes for the document class. For each attribute, you will find a checkbox "index-relevant" which needs to be unticked if you dont want to use TREX. For deactivating full-text search for which a field is given in the FIND popup, TREX needs to be deactivated. There is no option to deactivate just for a record element type in RM. Unfortunately, the field itself cannot be hidden. This is programmed in the logic.
    Best Regards,
    Pragya

  • Prompt text

    hi all.
    i have two text items let say t1 and t2 i want when cursor on t1 so the prompt text should bold
    and when cursor on t2 so the t2 prompt text should be bold.
    when cursor on t2 then the t1 should be in normal text.
    is it possible?
    Forms 10G.
    OS xp sp3.
    sarah

    --WHEN-NEW-ITEM-INSTANCE (In Block level)
    IF :SYSTEM.TRIGGER_ITEM = 'TEST.TEXT1' THEN
    Set_Item_Property('TEST.TEXT1',PROMPT_FONT_WEIGHT , FONT_BOLD);
    Set_Item_Property('TEST.TEXT2',PROMPT_FONT_WEIGHT , FONT_LIGHT);
    ELSIF :SYSTEM.TRIGGER_ITEM = 'TEST.TEXT2' THEN
    Set_Item_Property('TEST.TEXT2',PROMPT_FONT_WEIGHT , FONT_BOLD );
    Set_Item_Property('TEST.TEXT1',PROMPT_FONT_WEIGHT , FONT_LIGHT);
    END IF;
    There are many triggers in Forms so you can try diff option according to your need.
    Regards,
    Lokanath Giri

  • How can I disable copy text?

    While scrolling up and down a site using Firefox for Android, the copy and paste text mode often starts without me wanting it.
    Typically I then cannot get rid of the copy and paste arrows. Clicking on another part of the screen simply moves the arrows to a different place.
    Is there a way I can disable copy text?

    See http://www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-protect-p df-file-with-permissions-tutorial-ue.pdf

  • DropDownList prompt text color over

    How do you set the prompt text color for a DropDownList in the over state.
    The DropDownListButtonSkin has an over state so I can set anything to do with the button in this skin.
    However, the prompt does not belong to the button but to the DropDownList itself. The DropDownList skin does not have an over state.
    I am trying to create a UI where the prompt color and style changes as the user mouses over the DDL but I can't see how to do this.

    Hi,
    Did you ever manage to solve this? I'm having exactly the same problem
    Many thanks in advance
    Chris

  • How do I disable popup text from my iphone 5?

    Can anyone tell me how to disable popup text message on my iPhone5s? Can't see any reason why I should read the message twice.

    Isn't more convenient  to read the message as a pop-up text and then to reply it? FYI This feature will come on iOS8 this fall. If i were you I wouldn't disable the notifications texts.

  • Disabling a Text Input created through the TEXT TOOL?

    Hi There,
    I have created a text input area. I havent used the flash
    text components. I used the TEXT TOOL. In the properties I set it
    to "input" type so that i could input data. All the features works
    fine except one. I have to disable the text area when user clicks a
    button. I dint get any help from the flash help.
    The main objective is that the text input area shouldnt take
    input from the user when the button is ON, once the button is off,
    the cursor should be at the point where the user left and he can
    type thru.
    Is this possible? I have achieved this functionality using
    the textarea component of Flash, but not using the input text area
    created using the TEXT TOOL.
    Can anyone help me.

    use the type property of textfields to change your textfield
    to "dynamic "when you want to disable input and assign it to
    "input" when you want to enable input.

  • How can we use Prompt text from Field comment in database

    After migrate database from 4 to 9, I'm getting the problem. The problem is Prompt text in Form don't appear. So, how can we get the Prompt text by using the comment of the field in database which it related with that database text. Thank you.

    Hello,
    The table name is indicated in the query data source name property of the block
    Get_Block_Property( 'bloc_name', QUERY_DATA_SOURCE_NAME ) ;
    The column name is indicated in the column name item property
    Get_Item_Property( 'blk.item_name', COLUMN_NAME ) ;
    Comment is stored in the user_col_comments view
    Here is the code that retrieves coments for all based items of the current block:
    Declare
      LC$Table    Varchar2(30);
      LC$Column   Varchar2(30);
      LC$Item     Varchar2(61);
      LC$Comment  USER_COL_COMMENTS.COMMENTS%Type ;
    Begin
      LC$Table := Get_Block_Property( :system.current_block, QUERY_DATA_SOURCE_NAME ) ;
      -- For each item of the block --
      LC$Item := Get_Block_Property( :system.current_block, FIRST_ITEM ) ;
      Loop
        LC$Column := Get_Item_Property( LC$Item, COLUMN_NAME ) ;
        If LC$Column is not null Then
             Begin
            Select
             COMMENTS
            Into
             LC$Comment
            From
             USER_COL_COMMENTS
            Where
             TABLE_NAME = LC$Table
            And
             COLUMN_NAME = LC$Column
            -- set the prompt --
            Set_Item_Property( LC$Item, PROMPT_TEXT, LC$Comment ) ;
             Exception
                  When no_data_found Then
                     Null;
             End;
        End if ;
        LC$Item := Get_Item_Property( LC$Item,  NEXTITEM ) ;
        Exit When LC$Item is null ;
      End loop;
    End;Francois

  • Disabling Predictive TEXT feature

    Is there a way of disabling thepredictive text when typing? It's really annoying when the phone chhoses what you want to write, or rather misprexicts your intended word, causing you to waste time deleting and retyping.
    Sometimes the text window obstructs view of the text you want to copy! Its really a bore and I need to know how its disabled!

    Yes go into Options,(wrench) and go to either typing or keyboard and untik predictive text.
    THE BITTERNESS OF POOR QUALITY, LINGERS LONG AFTER THE CHEAPNESS OF PRICE, IS SOON FORGOTTEN.

Maybe you are looking for