Automatically fill in an a text field after a selection from dropdown field in a acrobat form.

I have two fields. One dropdown menu field for employee name and one field for occupation (an text field). I would like to let a employee select his name and automatically fill in the text field with his occupation. So for example:
John---> Automatically fill in "Engineer" etc..
Thank you in advance!

See Programming List and Combo fields in Acrobat and LiveCycle forms by Thom Parker.
This is not simple programing, but it follows standard JavaScript programing standards.

Similar Messages

  • Populate field based on selection from another field?

    I'm using a Data Connection with a SQL query that returns two fields (StNameFull and ADDRKEY). I have a drop-down list called "Address" with the list items dynamically bound to StNameFull, so the user can select the address.
    What I'm trying to do is populate the second field "Key" with the corresponding record, based on the selection made from the drop-down list.
    Is it possible to script this so that when the Address is selected the Key will automatically fill in with the key that matches the address selcted?
    I currently have "Key" as a text field bound to ADDRKEY, but not sure how to have it check what was selected in "Address"
    Thanks so much,
    - Kevin

    Yes it is possible but you will have to write some script to do it. You wil also have to ge the DataConenction to execute a SQL statement. There is a good blog on this topic at this location:
    http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/
    Paul

  • How Do I:  Fill a read-only field based on selections from 2 DDlists?

    Follow-up from issue:  
    http://forums.adobe.com/message/2417876#2417876
    I have 2 drop-down lists...  "Department" and "SubDepartment"
    The selection in DDlist "Department" spawns a unique list in DDlist "SubDepartment"
    I select the proper items from both DDlists.
    When I do this, I want read-only text field "NameOnIDBadge" to be populated with a pre-defined entry.
    Example:
    In "Department" DDlist, select item "Finance & Administration"
    In "SubDepartment" DDlist, select item "Food Service" from the list that appears
    THEN:
    In read-only text field "NameOnIDBadge" the following predefined read-only text appears:  "Contract Food Serv."
    (Thanks to Paul, I already know how to make the selection in DDlist "Department"  affect the selection list in DDlist "SubDepartment"
    but I don't know how to make the selection of both DDlists create a new pre-defined entry in a text field.)
    I have attached a mockup of the file I am working with...

    I tried that but a few things went wrong.
    1. After I select "Food Service" in the second "SubDepartment" DDlist, a Javascript error message pops up (see attached), and I have to click it to make it go away.  Then the text "Contract Food Serv" appears in the text box.
    2. If I select a different value in the Department DDlist, the rawtext still remains in place... it should clear out.
    3. The raw text seems to be based on the selection of the SubDepartment DDlist only.  However, I need specific raw text to be generated based on the combination of BOTH DDlists.   (It could happen that a totally different Department DDlist could have the same item in its corresponding SubDepartment DDlist.  In that case, the rawtext would be completely different.)
    Correct example:
    Department DDlist = Finance & Administration
    SubDepartment DDlist = Food Service
    NameOnIDBadge = Contract Food Serv  <-- CORRECT
    Incorrect example:
    Department DDlist = Clinical Services
    SubDepartment DDlist = Food Service
    NameOnIDBadge = Contract Food Serv   <--  INCORRECT   (it might be something else)

  • Search not working with multiple select in dropdown field

    Hello,
    Please first visit below site for searching form on left side.
    http://diventarepartner.unicaimmobili.com/home-page_copy_dynamic
    There is a field called Tipologia which is dropdown menu with checkbox (multiple select). Choose more than one checkbox and its automatic append with comma in text field which is customized using javascript. Now then if you submit button then its not working as our products.
    Now for this there is a custom field in admin in web apps items. This field is same for all items and values are different for all items like that which you can see above dropdown checkboxes value.
    Now my question Is it possible that for that one field in admin which has different value for different items and when i search from website and checked that cehck boxes and it search for all different items ??
    For example in admin suppose 2 items which has different value for that one field. Suppose one has value called Appartamento and other is Villa. Now from search form which is on website, that dropdown checkboxes, if i select these two values (Appartamento and Villa) from these and then search, it will display that both items from web apps ???
    Is it possible ??? Can you help me for this ???
    Waiting for reply. Thanks in advance.

    Your link doesn't work. Do you mind reporting it?

  • Change text based on value selection in dropdown

    Hi
    I have created a table Product Table with three columns Value,Description and Price.
    What i want on screen is that the 'Value' should be displayed as a dropdown on screen and when i select a particular value from dropdown the next two fields on UI i.e description and Price should get automatically updated.
    As I am new to ADF, i am having a hard time in implementing this.
    Please help.Urgent
    Regards,

    Hi Ranjith,
    I drag and dropped my first attribute of the VO as selectonechoice and list binding.Now i am adding the second attribute of the same VO as output text and set partial trigger same as that of selectonechoice.But on selection of my value from dropdown does not display the corresponding value for the second attribute.I checked the binding for theputput text, i saw the binding is an attribute binding and is having VO as data control source.how do i point to same iterator?
    Regards...
    Edited by: bpm11gnewbie on 21-Nov-2012 07:33

  • Custom field in SRM as a dropdown field with values stored in R/3

    Hi all,
    I need help with custom drop-down field in SRM 5.0 shopping cart. We need to create custom field called Location in SRM goods receipt transaction. And this location field will be a drop-down field that will be filled with values from locations stored in R/3. I would really appreciate if someone can help me achieve this.
    Regds,
    Kim

    Hi,
       Just attach a  custom search help to this field and then in the search help EXIT(RFC enabled Function module) write the logic to reterive the values from R/3.
    BR,
    Disha.
    Pls reward points for useful answers.

  • How do i populate one field based upon a drop down select from another field?

    Here is what I am trying to do:
    Field 1 is a drop down selection list that requires a user to make a mandatory selection which in this case is a list of apartment complexes. What I am trying to accomplish is once that user makes a selection from the drop down list (Field1) that it will populate Field 2 (standard txt) with the corresponding apartment complexes address.
    So I pick Talan Apartments from field 1, it would populate field 2 with Talan Apartments address. I tried messing around with calculation scripts but I'm fighting a loosing battle here. Some help would be greatly appreciated!

    Hi,
    Here is a sample: https://acrobat.com/#d=Hi0ZwVgVB1PWbxc6OJ0z4A where the script in the exit event of the dropdown sets the value of the address object.
    Good luck,
    Niall

  • Automatically fill input fields based on selection from dynamic drop down

    Hi All,
    I tried to search before posting, but i cannot find appropriate thread (maybe wrong keyword).
    My scenario:
    1. In my offline interactive form, I have:
        a.  Material Number --> drop down field with "Allow Custom Text Entry" ticked
        b.  1 execution button to call web service
        c.  Material Group - Input Field (Read Only)
    2. User will enter material number with wild card character (eg: ABC*).
        User will then click the execution button.
        Web Service in result will return all materials that match the entered material number.
        Dynamic binding will do the magic to generate the drop down list.
    3. Beside material number, web service will also return material description and material group.
        Below is the illustration:
         Material        Description       Material Group
         ABC              Material ABC               GRP01
         ABCDE        Material ABCDE          GRP02
    --- so far so good ---
    My requirement:
    Every time user select material from the drop down list, i want to auto-populate field "Material Group" (which value is also returned by web service).
    I know i need to put the script on event change of the drop down field.
    But i don't know how to read internal table returned by web service.
    Hope someone can enlighten me.
    Thanks in Advance !!!

    Solved after reading:
    1. /people/juergen.hauser2/blog/2007/09/03/accessing-data-nodes-in-sap-interactive-forms
    2. Chapter 7 of Live Cycle Designer Scripting Basics
    (http://help.adobe.com/en_US/livecycle/9.0/LiveCycle_Designer_Scripting_Basics.pdf)
    Thanks.

  • Change marge field after dragging contact from Addressbook

    Hi,
    is there a way to change via applescript a merged field automatically after dragging a contact from the Adressbook to a pages 09 document?
    What i am trying to do is parsing the Information of a certain Addressbook field in the format "City** Hotel" to "Hotel **" in Pages after i dragged the contact to an open pages document.
    Thanks for your time.
    /benno

    Bon soiree Yvan,
    i have entries in the addressbook where the surname is the Name of an Hotel, and the Name is the Name of the Hotel owner.
    What i need is a metod to change the surname field in a merge placeholder in pages after dragging the contact to pages so that the "Surname" >>City** Hotel<< becomes >>Hotel **<<.
    Thank Yvan for your fast response.
    Regards Benno (Bolzano, Italy)

  • Typewriter tool - text color after entry fades from color selected?

    I have followed all the other directions for preferences, properties and have sucessfully set those however - after entering any text in any color - say red. or black after the enter button is pressed and i've moved anywhere else in the document - the text color is displays and prints in a faded version. How can this be corrected?

    I am also having the same issue with Acrobat X Standard.  When I use the typewriter tool in any new or existing PDF and add text in any color or font face when I mouse out to any part of the document the added text fades as if the opacity was being lowered so it's much lighter color than it should be.  
    I am using:  Windows 7 Pro 64-bit and have local admin rights.
    I've checked the Perferences > General section to ensure I am only using certified Adobe Plugins and forced Acrobat to rewrite the folder in  " %appdata%\Adobe\Acrobat\10.0\ " without any resolution.  The new 10.0 folder does not contain the Perferences folder inside either. 
    I went a step further and renamed all the Acrobat folders in my user profile in Local, LocalLow, and Roaming then ran Repair for Acrobat X Standard, rebooted computer, then open Acrobat back up with the same text fading issue when using the typewriter tool. 
    I created another new user with local admin rights but the typewriter tool does not fade the text there at all when loses focus.   Short of transfering to that new profile anyone have any other ideas to resolve this issue?

  • Ticket Selection From Inventory Field Values?

    Is there anyway to insert a selection field into a custom ticket form with the value options being all the different software names that have been inventoried?
    Essentially, if a user is having an issue with a particular software application, we'd like to automatically route that to the designated expert. Only way I can do that is a custom field with static values. Sort of defeats the purpose of maximizing the benefit of obtaining an automated software inventory list.
    This topic first appeared in the Spiceworks Community

    REPORT zajtest4 .
    TYPE-POOLS vrm.
    DATA:t_values TYPE vrm_values,
         wa_values LIKE LINE OF t_values,
         wf_field_name    type vrm_id.
    PARAMETERS: v_type TYPE c as listbox visible length 10.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR v_type.
      IF t_values[] IS INITIAL.
        wa_values-key = 'A'.
        wa_values-text = 'Text for A'.
        APPEND wa_values TO t_values.
        wa_values-key = 'B'.
        wa_values-text = 'Text for B'.
        APPEND wa_values TO t_values.
        wa_values-key = 'C'.
        wa_values-text = 'Text for C'.
        APPEND wa_values TO t_values.
      ENDIF.
      wf_field_name = 'V_TYPE'.
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id              = wf_field_name
                values          = t_values
           EXCEPTIONS
                id_illegal_name = 1
                OTHERS          = 2.
      IF sy-subrc <> 0.
      ENDIF.

  • Seeking Pdf form help - javascript formula to auto-populate fields based on data from other fields.

    Hi there, I am new to PDF form work, and am wondering if someone could help me with a javascript formula.
    I want to auto-populate the EXPIRYDATE field, as the same date as the entered AUTHORIZATIONDATE field, but 4 years later.
    So, I want to be able to enter 11/14/2014 in the AUTHORIZATIONDATE date, and have 11/14/2018 auto populate in the EXPIRYDATE field.
    Seems simple I know, but I've messed around quite a bit and can't seem to make it work. Is this possible??
    Any help would be very much appreciated!!

    And what have you done?
    This can only be done with custom JavaScript programing.
    The value of date type fields are text field and not numeric data. The first task is to convert the dates to a number on some type of number sequence that is a mapping to dates.
    Have you looked at the Acrobat JavaScript API Reference, the MDN JavaScript reference?
    I would use the Acrobat JavaScript util.scand to covert the date string to the number of milliseconds from January 1, 1970 midnight. and then use the getFullYear method of the date object for the year value and add 4 years to that value and then use the setFullYear method to set the year for the date object. Now you can use the util.printd method to format the date object as a date string with a specific format.
    // get the date value, format of date string and years to add;
    var cDate = "11/14/2014"; // date value;
    var cFormat = "mm/dd/yyyy"; // date format;
    var nYears = 4; // years to add;
    // convert date string to date object;
    var oDate = util.scand(cFormat, cDate);
    if(oDate == null) {
    app.alert("Error converting " + cDate + " using format " + cFormat, 0, 1);
    // add years to date object;
    oDate.setFullYear(oDate.getFullYear() + nYears);
    // display result;
    var cExpireyDate = util.printd(cFormat, oDate);
    app.alert("Authorization Date: " + cDate + "." +
    "\nExpire Date: " + cExpireyDate, 3, 0);

  • Select from one field

    I have the following values in a field named (sn_font). (MS
    SQL 2000)
    Opaque=1;Font=Times New
    Roman;FontSize=10;FontBold=0;FontItalic=0;FontUnderline=0;TextColor=0,0,0;BackColor=255,2 55,204;Printable=1
    I need to make a select statement that will give a result
    such as "0".
    If I need to select only the value for "FontItalic".
    How can I do this ? How can I only select the value after the
    sign '=' for
    one of the items above if it is all stored in one line in the
    same field ?
    A

    Hi,
    Here is a sample: https://acrobat.com/#d=Hi0ZwVgVB1PWbxc6OJ0z4A where the script in the exit event of the dropdown sets the value of the address object.
    Good luck,
    Niall

  • Problem with selecting from timestamp field for a particular date

    We're running 10g and we have a timestamp field whose values look like this:
    SQL> select timeinserted from files where rownum < 3;
    TIMEINSERTED
    16-APR-05 01.08.35.97634 PM
    16-APR-05 01.16.10.00419 PM
    SQL>
    I'm trying to run this query, but it returns no rows even though I know there should be some:
    select timeinserted from files where timeinserted = '27-MAY-05';
    I know I just need to somehow tell it to convert the timestamp to date or something like that. How should I rewrite this query? Thanks...

    select timeinserted from files where timeinserted = '27-MAY-05';
    this is poor coding, you compare a date with a varchar2. Not to mention using 2 digits years...
    try something like
    select timeinserted from files where timeinserted >= to_timestamp('27-MAY-2005', 'DD-MON-YYYY') and timeinserted<to_timestamp('28-MAY-2005', 'DD-MON-YYYY');

  • To populate another alv grid's field with value selected from search help

    Hi,
    I have two fields in alv grid, first column holds code and the second one holds code's description. Also I have a search help includes these two fields. The search help is attached to the first column. The requirement is, when I select a code from the search help, second column should be populated with selected code's description.
    Any help will be appreciated. Thanks..

    Hi,
    have a look into Report: BCALV_EDIT_03.
    Regards, Dieter

Maybe you are looking for

  • What do I do if I have forgotten my passcode for my Iphone 4?

    What do I do if I have forgotten my passcode for my Iphone 4?

  • What are the best free Aperture 3 plug-ins?

    Hi everyone! I'm low on money and am looking for Aperture plug-ins that can really take editing jpegs to a whole new level. I've scoured the Net and have found only demo versions of software that are really expensive to purchase. Can anyone suggest s

  • Sw corrupted

    want to repair all that it was before new

  • Ipod supporting the hebrew language

    hi! i have a 2nd gen. ipod, and because i come from Israel, i have music in hebrew, but the ipod does not support hebrew, so when the ipod is playing a song in hebrew, it won't display the song info. is there anything i can download or anything else

  • Sales Tax Codes Translation

    Hi, Can anyone tell me how to maintain Sales Tax Code Descriptions in difeerent languages. Kind Regards, Nehal.