Changing the field properties (editabel/greyed out) dynamically?

Hello
I am developing an Adobe interactive form. My requirement is dynamically changing the filed properties based on the other field values/selections/inputs.
1) For example in the form, if user puts value_A in field_1, then, the field_2 should be greyed out.
2) If user puts value_B in field_3, then, system automatically populate the value_C in field_4 in order to let the user make easy- user friendly
3) If user puts value_D in field_5, then, only allowed value in field_6 is value_E, if by mistake user puts value_F in field_6, then, system should throw error message
Pls. let me know how to achive this DYNAMIC functionality in the FORM or do we need to handle from WEbDynPro ABAP side?
Thank you

Hi,
Everything you have mentioned is possible in the form itself. Just write the valid script at valid event of valid field.
1) For example in the form, if user puts value_A in field_1, then, the field_2 should be greyed out.
Ans: Write on change event of Field1:
if($.rawValue eq "value_A")
then
Field2.access = "readOnly"
Field2.fillColor = "192,192,192"
endif
2) If user puts value_B in field_3, then, system automatically populate the value_C in field_4 in order to let the user make easy- user friendly
Ans: Write on change event of Field3:
if($.rawValue eq "value_B")
then
Field4.rawValue =  "value_C"
endif
3) If user puts value_D in field_5, then, only allowed value in field_6 is value_E, if by mistake user puts value_F in field_6, then, system should throw error message
Ans: Write at exit event of Field6:
if(Field5.rawValue eq "value_D" and $.rawValue ne "value_E")
then
xfa.host.messageBox("Wrong Value", "Error", 0)
endif
For such type of scripts you can refer to designer help also. So please check there before posting your query that would save your time.
Regards,
Vaibhav

Similar Messages

  • Can't seem to change the Document Properties Advanced Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?

    Can't seem to change the Document Properties > Advanced > Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?

    LiveCycle forms use a very different approach to create a PDF form than Acrobat and that approach makes many features for processing PDFs non-functional.
    You might want to ask this question in one of the LiveCycle product forums.

  • When combining multiple PDF's, the field properties change

    When combining multiple PDF's, the field properties for the Font and/or the "Scroll long text" checkbox change settings. What is causing this to happen?

    Thank you for the prompt reply. I do indeed have the same field name across multiple files, but they are all set the same in their individual files.

  • 'Notes' field within the Address Book is greyed out

    The 'Notes' field within the Address Book is greyed out. The resolution seems simple enough yet this does not work: "Select the person in the Name column in Address Book, then click the Note field in the card."
    It's still grey after doing so and data cannot be entered into the 'Notes' field.
    Any help much appreciated.
    Thanks!

    You'll want to post this in the Mail & Address Book forum. That link will take you to the Mail & Address Book forum for Tiger, and there is a link at the top of the page to the Mail & Address Book forum for Panther and earlier if you need to go there.

  • I am trying to change the order of one of my audiobooks (media kind: audiobook), but the ID tags are greyed out.  I can't change tags for almost all my audiobooks.  Music files OK. Files are all read/write. Repaired disc perms. OS 10.9.4. ITunes11.4

    I am trying to change the order of one of my audiobooks (media kind: audiobook), but the ID tags are greyed out.  I can't change tags for almost all my audiobooks.  Music files OK. Files are all read/write. Repaired disc perms. OS 10.9.4. ITunes 11.4  I don't have iTunes Match.

    Select all the songs and then Advanced -> Convert ID3 tags.
    http://docs.info.apple.com/article.html?path=iTunesWin/6.0/en/655win.html

  • How do I change the default programme to open pictures when downloading? Why can't I make it automatic? - the tick box is greyed out.ut

    How do I change the default programme to open pictures when downloading? It always proposes Windows Live Photo Gallery and I have to change it to Windows Photo Viewer every time. Why can't I make it automatic? - the tick box is greyed out.

    Thread discussing this issue here:
    http://discussions.apple.com/thread.jspa?messageID=1289317

  • Acrobat 9 Properties bar greyed out for highlighting

    I have posted on this issue last year, and also wrote to one of the admins -- all without any solutions, and the problem remains as bad as ever.  I imagine there are a lot of other people running into this.
    Acrobat 9 Properties bar greyed out (or disappears entirely) when text selected: it happens to me CONSTANTLY, using both Acrobat 8 Pro & Acrobat 9 Pro, all fully updated.  Tech support is useless and refuses to acknowledge or solve this extremely annoying problem.
    I need to highlight text (using different opacities of highlighting) in a variety of PDFs: scanned-ClearScan OCR, ebooks, downloaded journal articles, etc.  None of them are "restricted" in any way for security, commenting, etc.
    Within a few minutes of editing, when I go to highlight some text or change opacity, one of two things will happen spontaneously.
    1) Properties bar disappears entirely when text selected (erroneously changes to "No current selection")
    or
    2) Properties bar suddenly greyed out when text selected
    It is absolutely inconceivable that Adobe is unaware of this absurd defect -- and is unwilling or unable to fix such a simple functionality so that it works consistently and correctly!
    And no, this is not a matter of "turning on/off" the bar using <cntrl-E> -- that's irrelevant to this defect.
    And furthermore, commenting text formatting changes are not retained when set as new default (e.g., opacity of highlighting changes randomly from 20% > 60%, etc.)
    And I don't want to reset all toolbars, because I have them customized just-so.
    Can someone with more expertise PLEASE, PLEASE explain this problem or suggest a fix?
    thank you,
    calguy2010

    Assumptions for this test:
    1.  Acrobat has been configured so that the "Text Box Tool" (part of the  "Comment & Markup Toolbar") is visible on the toolbar.
       (Tools --> Customize Toolbars... may need to be used to se this up)
    2. The "Properties Bar" is visible (a Ctrl-E should bring it up if it is not already so)
    If you had to make changes to get this configuration set, close all Acrobat windows before proceeding so that the settings will be remembered and used when new windows are open.
    ******BUG******
    Text box TEXT PROPERTIES only accessible in most recent file opened.
    Steps to reproduce bug:
      1. Open a 1st PDF
      2. Open a 2nd different PDF
      3. Arrange so both are visible.
      4. in the 1st PDF create a text box and notice how the window for the 2nd PDF gets the TEXT BOX PROPERTIES BAR
      5. notice how there is no way to change the text box properties in the first window.
      Results: Text box properties can only be changed in the most recently opened window.
      Expected results: Text box properties should work for all windows!
    Note that no properties (color, fill, font, ...) of any object (line, rectangle, callout, ...) can be changed using the Properties Bar if the properties bar is not part of the last window opened.
    The only kludgy workaround I've found is that if I need a working properties bar in a particular window I can:
    1) save the file to capture any outstanding changes that might not have been captured (this is an optional step)
    2) make a throw-away minor change to the file (I usually draw a short line segment)
    3) Go to File --> Revert (& Confirm)
    The file will close and reopen without the throw-away change and it will now be the last file opened so it will now have a working properties bar.
    Go here and report it and perhaps if they hear from enough of us they will take the time to do something about it.
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Script : how to change the Field name in standard program(ZM_MEDRUCK)

    Hi Experts,
    I am working with SAP SCRIPT. i need to change the Field Name that is PO NO to Document No & PO DATE to Document Date.
    These are assigned in data declaration as gv_name and gv_date.
    Can anyone help me to change this Fields.
    Regards,
    Vijayan.R

    Hi,
    You can archive this by making change in SAP script only. You don't need to touch the standard prgm.
    Debug the script and find it out which fields (In script editor) are printing these text on layout... then just replace them by creating your own text...
    You can create a text in TTDTG table,, like ZZPO_NAME = ( Document Name),, and use this filed in the script editor.
    &ZZPO_NAME&

  • Sold to Party and Ship to party field are in grey out mode in VA01.

    Hi Friends,
    I am facing a very critical situation, Please help me on this.
    While creating the sales order by VA01, the Sold to Party and Ship to Party field are in grey out, so we cannot enter sold to party and ship to party. This is happening for all Order types.
    And while checking the existing sales order by VA02, so I found that at Header level and Item level the Partner tab are disable
    ( mena partner tab are in grey mode,).
    But when we click on sold to party field in VA02 it directly moves to partner but all Partner shown in Sales tab.
    I have check all the partner function and partner determination configuration.
    So can any one help me out in this, how in VA01 sold to party and ship to party field are in grey out mode.
    How in VA02 the partner tab are disable.?
    Thanks
    Irfan Ullah
    09370236510

    Hai Irfan Ullah,
    In Sales - customer
    1. Partners are listed (SP,BP,PY, SH)for account group and Partner Determination procedure(TA) is assigned to it
    Now for sales order type you need to assign the partner determination process
    SPRO
    Sales and Distribution
    Basic Functions
    Partner Determination
    Set Up Partner Determination
    Execute
    Set Up Partner Determination for Sales Document Header
    Select TA - standard order from the right side list
    and select Partner Determination Procedure Assignment (from left)
    Now assign your sales type to Partner determination TA.
    Create a SALES order you can find the sold to and ship to are editable.
    Regards,
    Mani

  • My iphone 3gs won't allow me to enter my email password.  The acct is all greyed out in the settings menu and now I can't get email.  I restored the phone through iTunes and did a hard reboot but nothing helped!!

    I changed the password on my Yahoo mail account and now the phone will not let me enter the new password.  The mail account is greyed out in the settings menu.

    Try deleting the account and set up a new one. Also make sure to not sync the phone with old email settings.

  • The send button is greyed out when I try to text some but not all people from my iPod touch. Any ideas how I can fix this?

    The send buttin is greyed out when I try to text some but not all people from my iPod Touch. This happens even when they have iPhone 4s. Any ideas why and how I can fix this?

    This issue can be caused by the McAfee SiteAdvisor extension.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • How do you change the font color in CALL-OUT text boxes in PRO XI?

    How do you change the font color in CALL-OUT text boxes in PRO XI?

    It's not so simple to find it if you don't know what you're looking for... But it can be found via View - Show/Hide - Toolbar Items - Properties Bar.

  • Changing the field names in a CFQUERY object

    Hello, I wonder whether you know the answer to this?
    I want to change the names of the fields in a CFQUERY result
    set after I have retrieved the results from the database (ie. I
    can't use "AS" in the original SQL statement). I can think of 2
    ways to do this - use the query-a-query (CFSQL) feature or just
    build and populate a new query object, as set out below:
    <cfquery name="CustList" datasource="name">
    SELECT CustId,CustName,CustAddress FROM Customers
    WHERE OrderStatus='P'
    </cfquery>
    OPTION#1:
    <cfqueryname="GenericList" type="query">
    SELECT CustId AS Id,CustName AS Name,CustAddress AS Address
    FROM CustList
    </cfquery>
    OPTION#2:
    <cfset GenericList = QueryNew("Id,Name,Address")>
    <cfloop query="CustList">
    <cfset unused = QueryAddRow(GenericList)>
    <cfset unused =
    QuerySetCell(GenericList,"Id",CustList.CustId)>
    <cfset unused =
    QuerySetCell(GenericList,"Name",CustList.CustName)>
    <cfset unused =
    QuerySetCell(GenericList,"Address",CustList.CustAddress)>
    </cfloop>
    Do you know which of these would be more efficient? And is
    there a better way, whereby I can maniplulate the names of the
    columns in the original query (ie. so that I can rename the
    "CustName" field to "Name" and then use "CustList.Name" directly)?
    Thanks!

    Thanks guys!
    If there is a close to zero overhead to the simple
    query-a-query then that seems like the way to go, with no need to
    look for a means of manipulating or modifying the original query.
    The reason I want to change the field names is so that the
    rest of my code can contain references to "CustList.Name" whereas
    otherwise I would have to do something like
    "Evaluate('CustList.#NameField#')" which is horribly messy. And the
    way the original query is generated means I can't use "AS" in it,
    but I still want to use the same code to work with that query
    result and other query results that share similar/related data with
    different field names.

  • Sourcing cockpit field should be greyed out

    Hi,
       In Sourcing Cockpit, the purchase Org and Purchase Group field should be Greyed out in "Find" tab...
    How can we achieve this.?? Is there any BAdi availbe???
    thanks........

    Hi, thank you for your quick reply. but i have new problem regarding this requirement.
    I have created logic as shown below:
    IF is_header-total_value LE 500000.
        IF iv_fieldname = 'START_BIDDING_BUTTON'.  " Create bidding button name
          cv_invisible = '1'.
        ENDIF.
    ELSEIF is_header-total_value GT 500000.
        IF iv_fieldname = 'PROCESS_ORDER_BUTTON'.  " Create purchase order button name
          cv_invisible = '1'.
        ENDIF.
    ENDIF.
    It seems to work but why can't i find any value in the table is_header nor is_item: (I have already add SC in the work area)

  • Just installed Acrobat XI and many of the tool buttons are greyed out.

    This is Acrobat Standard.  Why would the edit buttons be greyed out?
    Lee

    It could be that the document you're working with doesn't allow editing, which could be due to security restrictions that are in place, because it's a form created wit LiveCycle Designer, it's locked due to a digital signature, etc. See what it shows when you select: File > Properties > Security

Maybe you are looking for

  • Printing to Airport Express connected Laserjet 1012 very slow after update to 10.6.8

    After updating a pair of computers that we have here to 10.6.8, printing to our Airport Express connected HP LaserJet 1012 has become incredibly slow. I timed it and it is taking 2:30 to print a blank page, whereas printing the same blank page under

  • Permission issues after upgrading to 10.6

    I recently upgraded to OS X 10.6 and tried to install Mathtype 6.0a. After accepting their license agreement, the installer just disappears. Design Science has verified that 6.0a does work on 10.6. I dug around and found a log generated from the cras

  • Mass Change on FBL5N

    Hi, I need to do a mass change on a specific field for several document numbers shown on the customer line item I go to this path: Tcode FBL5N > Environment > Mass change > New Values Unfortunately, the field which I want to edit ( invoice reference

  • Merge all XSL files

    I am using XSL/JSP to design the Application Form. Now I want to split header, sidebar, footer and app form into 4 XSL files, only app form will receive dynamic data from XML, the rest are static pages. One way I can think of is using 5 JSPs to proce

  • Events in SM30

    Hello Everyone, I am trying to restrict the value of a field in SM30. The idea is the value of this field cannot be duplicate. Also, I can't make it the key field as there can be only 1 key field in the table. Let me be more clear. The field name is