Auto populate text field base on anothe r text field input

ive created a medical form that the end user enters codes for medical reasons and a description for that code. the description are very long and tedious. is there a way to have the user enter the code in one field  and have it auto populate another field with the correct description?
I was able to do this with a  combo box but not with a standard text box. please note, i  have never learned javascript and have been ""duct taping" peices of code to make things work  up until now . appreciate the help

The advantage of the combo box is the automatic validation of the input as the selection is made.
You can use control statements like the "if" or "switch" statement or perform an array lookup. This action can be performed in the on blur action of the input filed or in the calculation script for the target field.

Similar Messages

  • Auto populate other fields bases on the first 2 fields

    Hello,
    I have a form that has 5 fields in which the first 3 fields are pre-populated from the 1st web service based on their user id and now I'd like to have the other 2 fields to pre-populate bases on that first 3 fields that execute from a 2nd web service but having issues on that. If I have it manually enter the input than it work but I could not make it work by auto pre-populate bases on the first fields that already pre-poulated. Can you please advise on this..
    Thanks in advance,
    Han Dao

    Hi Paul,
    I use Form:ready to trigger the 2nd WS as the same one for the 1st one. I use AWS_ASSIGNED_ID (hidden field) to control both of the WS. I am not sure that I understand you correctly about the two sets of input output execute bindings for those fields.  Can you please explain a little bit more.
    Thanks, Han

  • How to populate a message text input base on another message text input.

    Hi,
    Everybody,i have 5 message text input a,b,c,d,e(say)
    now a=b+c+d+e,Now am inserting value for a,b,c,d and after giving this 4 value the value of e will automatically populate.How can we achieve this.
    Thanks

    Babu,
    but my question is why we need to attach ppr for all the 4 elements
    we can attach a ppr for 4 element and make a validatiion on other 3 elements, if values are entered or not, if not throw a appropriate exception, if all the values are entered then make the caluculation and assign it to the transient attribute.
    Babu, y would I throw the error if user hasn't entered all 4 i just have to show addtion of all four elements in fifth.Other point is how will you decide which is fourth element, any element can be considered as fourth depnds from where u start counting :)!Unless I have attached PPR to all 4, you won't catch any change event in any of the four elements.The event will be one only but all 4 elements will be attached to same(i.e. all will have same event name).Just visulaise the scenario...., you will get what I am trying to say.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Sort one field base on another field

    Hi:
    I think this maybe a simple question but I can't find the way to do that. For example in a bar chart, measure vs. month_name, where month_name is Jan., Feb., Mar., etc. By default, the bars are sort in alphabet order, but actually we usually want to sort by month_number like 1, 2, 3...
    I know there is a "Custom Sort" option to adjust the order manually. However, it's unacceptable when dealing with multiple years. So how can I sort month_name base on month_number?
    Thanks

    Larry,
    If the months are "stand alone", e.g. not part of a date field, then I've run into this problem as well.  The only solution I've found is to pre-pend the month name with a number that represents its position in the list of months, so Jan becomes "01-Jan", Feb becomes "02-Feb", etc, etc.  This is all accomplished via local variable and "if" function....
    Thanks,
    John

  • How to auto-populate form fields between documents?

    I'd like to create an interactive form where the user inputs data into different fields and then the data gets auto-populated into other fields in forms linked to the original form. Is this possible with Acrobat XI? If not, then which Adobe product is best suited for this? If it's possible, how difficult is this to do? I don't need exact "how to" tips at this point. I am not a developer and I don't have any experience with Action Script. I'm just researching what products I can use, as a non-techie, to do the job. Thanks.

    Thanks for your reply. I'm having a hard time understanding the functionality on the end-users's side with the different Adobe forms products. I did a little more reading up on this, but it's still not 100% clear. Perhaps you can help clarify.
    Scenario 1: The user does NOT have a copy of Acrobat XI on their end, and  I do NOT have a subscriptiont to FormsCentral, and I do NOT enable import/export features in the form using Adobe LiveCycle Reader Extensions. In this scenario, the user can fill out my form, but they can't save a copy of the completed form on their local drive. I, however, get a copy of the completed form where I can then extract and analyze the data.
    Scenario 2: The user does NOT have a copy of Acrobat XI on their end, but I have have a subscriptiont to FormsCentral. The user can complete the form and save it on their local drive, but I can't have data auto-populate from one to another. (Note: I went to the FormsCentral website and it says "Allow respondents to download the PDF form, print out, save, EDIT and submit later." I interperet that as meaning they can add text to a fillable form and save it on their end.)
    Scenario 3: The user does NOT have a copy of Acrobat XI on their end, but I have enabled the form with LiveCycle Reader Extensions so that I can have data auto-populate from one form to another. However, I have to pay for an Extension license fee. I managed to find the pricing, and it's too expensive for my needs right now. I'm looking to share the forms with students, so this is not an option.
    Scenario 4: The use HAS Acrobat XI. I can get data to auto-populate from one form to another and the user can complete and save on their local drive. This scenarios is not an option for me / Can't get students or schools to pay for a full license of Acrobat XI is not an option at this point.
    Is my understanding correct? If so, I feel like I've hit a dead-end. The only cost-effective solution is to have a simple fillable form without the ability to auto-populate data between forms. Sigh.
    Thanks.

  • Using a rule to auto-populate fields

    I'm using InfoPath/SharePoint 2010.
    I work for a law firm and I am designing an InfoPath form for a SharePoint portal. We have a database will a list of matter numbers and names. One of the fields is called, Matter number and the other, Matter name.  I want users to be able to type
    in the matter number, and have that number validated against the database to auto-populate the matter name in the matter name field. Does anyone know how I would be able to do that?

    This would be done in InfoPath.
    Click on your Matter Name field and then select properties. For default value, select the data source as your other data source and then highlight the Matter name field. Click filter data and use the form field for Matter number.
    Check out this article:
    http://blogs.msdn.com/b/bharatgupta/archive/2013/03/07/create-cascading-dropdown-in-browser-enabled-infopath-form-using-infopath-2010.aspx
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Auto populate text fields with a trigger such as entering text into input fields in ADF

    Hello all,
    I am not able to auto populate text fields with a trigger such as entering text into input fields in ADF.
    I tried AdfFacesContext.getCurrentInstance().addPartialTarget(val); in the back end using setter method of input text field.
    its not working ..
    is there any way to achieve it
    Regards,
    Shakir

    Hi,
    Always mention your JDev version.
    The valueChangeListener would fire only when you set the autoSubmit property of the field to true. Can you elaborate your requirement? What do you mean by related data? Are you performing some sort of search?
    If you want to get the value you entered on the field, just set autoSubmit to true and get the new value from the valueChangeListener. If your requirement is something like as and when you type, do something, you need to check out this approach :https://blogs.oracle.com/groundside/entry/auto_reduce_search_sample
    -Arun

  • How do you auto populate a date in a different text field after someone digitally signs the PDF form?

    I am trying to auto populate a date in a text box on the upper right hand corner of my document after someone digitally signs it. Is this possible? How do you do this?

    Go to the Properties of the Digital Signature field and under the Signed tab enter this JS code, under the last option:
    this.getField("SignDate").value = util.printd("mm/dd/yyyy", new Date());
    this.getField("SignDate").defaultValue =this.getField("SignDate").valueAsString;
    Of course, you can adjust the field name and the date format used in the script above.

  • How do I auto populate the date into text fields when form is first opened?

    Hello,
    I read all about the changing the scripts but its not really working for me. I was hoping someone could help me with directions on how to auto populate the date into designated text fields when my adobe document is first opened?
    I am working in Adobe Acrobat 9.
    Thank you,
    Sheri

    When you add a new document JavaScript (Advanced > Document Processing > Document JavaScripts > Script Name (enter something) > Add), you will be given a function skeleton by default. Just delete it and enter the line of code I showed above. Now, whenever the document is opened, the code will get triggered and the field will be updated with the current date. There is no "Document Open" action (at least that's accessible via Acrobat's UI), but this is effectively the same thing since any document-level JavaScripts are executed when the document is opened.

  • Auto-populate fields in Custom Object Based on Another Record

    Hello,
    I am hoping to auto-populate a few default values in a new Custom Object record based on an associated Lead record. The layout is this:
    I use the Lead record to take care of most of the information in the sales stages until the product is sold. The Lead record has fields to record information for a one product sale. The sales person can then use the Custom Object (called 'GX Additional Product') (which shows up in the Related Information section of the Lead record) to add additional items to a sales order request. Many of the fields in the GX Additional Product (custom object) record are identical to fields already filled out in the Lead record.
    What I would like to do, is when a new GX Additional Product (custom object) is added to the Lead record, those identical fields already filled out in the Lead record, by default, populate the corresponding fields in the new GX Additional Product (custom object) record.
    Is this possible? Is this something that can be done with JoinFieldValues? If so, I've had a bit of confusion trying to set up a JoinFieldValues expression.
    If you have any information to share that would be helpful, that would be greatly appreciated! THANKS!

    Hi,
    You can use JoinFieldValue to Custom Objects from other entities, cause you will have other objects' ID recorded inside the CO's, when you open a new detail record associated with the parent. Make sure your custom object is showing as a detail section (N:1) into lead´s main page. Try with one field first, using the exact syntax provided at samples listed at product documentation.
    regards,
    Flavio Amorim
    Brazil
    www.triscal.com.br

  • Is there a way to auto populate one field based on a selection made in another field?

    We want to enter an account number and have the account name field auto populate.

    Yes there are many ways.
    Do you want to populate form a controlled source like a database?
    From data stored within the form?

  • Using JavaScript to auto populate a field based on numeric value of a separate drop down field

    Hello, I am trying to set up a simple, I hope, javascript which will enable to me auto populate one field based on the numberic value of another field using Acrobat Pro XI.
    Essentially I have 2 drop down fields (we'll call them DD1 and DD2).
    DD1 is the sum of 8 preceding drop down values. That sum can be anywhere from 0 - 40. Whatever that sum falls within a range which identifies a rating. The ratings and ranges are below:
    0-8: Non-Performer  
    9-16: Low Performer  
    17-24: Performer  
    25-32: High Performer  
    33-40: Exceptional Performer
    DD2 is where the rating ("non-performer", "low performer", etc.) will be captured. Instead of requiring the user to look at DD1, determine the value, and then identify and input the rating manually, I would like DD2 to auto populate the rating based on the value (sum) in DD1.
    For example, if DD1 shows a value of 27 then DD2 would auto populate "High Performer". So how do I write this code or execute this? In excel I would use an if, then statement. Is there something similar in Acrobat Pro XI.
    Any help is greatly appreciated. Thank you in advance.

    If you use a text field, the custom calculation script could be:
    // Custom calculation script for text field
    (function () {
        var s = getField("DD1").valueAsString;
        // Blank this field if input is blank
        if (!s) {
            event.value = "";
            return;
        // Convert string to number
        var v = +s;
        // Set this field's value based on the input
        if (v <= 40 && v >= 33) {
            event.value = "Exceptional Performer";
            return;
        if (v < 33 && v >= 25) {
            event.value = "High Performer";
            return;
        if (v < 25 && v >= 17) {
            event.value = "Performer";
            return;
        if (v < 17 && v >= 9) {
            event.value = "Low Performer";
            return;
        if (v < 9 && v >= 0) {
            event.value = "Non-Performer";
            return;
        // If none of the above fit, blank this field
        event.value = "";

  • Auto-populate form fields based on end user input?

    I'm currently attempting to create a new form that has a combo box "Locations" with various options.  What I'm looking to do is have another text field auto populate other fields related to that location (such as address, contact information) to save on time and reduce opportunity for end user errors in input.
    What are my options for accomplishing such a task?  Some form of binding fields with a MS database possibly?
    Thanks in advance for any advice and assistance on this matter!

    Paul,
    The form and (potential) database would be located on a shared drive on the company network in which those that would use the form already have access to.
    The pc's that user's would be using have Reader 9.
    The pc I'm using for developing this form has LC Designer 8, Acrobat Professional 8, and Reader 9.
    Ideally, I would "like" for the end user to have the ability to add new locations, addresses, etc ... in the event it is needed, although this would not be likely to come up.
    Based on the software I have on hand, and the need to not incur additional expenses, what would you suggest?
    Thanks again Paul!

  • How do I auto populate a text box if a check box is ticked in Acrobat XI Pro?

    Basically, i have been asked to create a catalogue of sorts for my organisation with a form at the end that will be completed by the end user. it will be a catalogue of books and toys that people can request to borrow from us. Its all specialist equipment that we loan out for disabled people. When they are scrolling through the catalogue i would like there to be a check box and if they would like to borrow that item they would tick that box and any other products that they would like to borrow. Is it possible to have a text box that auto populates with a list of the items they have selected. the form would be similar to the one below. it the box next to Products to borrow i would like it to add products as they tick the boxes in the preceeding pages. I would be happy to share an example document if needed. thanks in advance for any help.
    Name
    Address
    Products to borrow

    Thank you for your willingness to help.
    The problem with a drop down is that it would not present all options when printed, and some of our users will be completing this form manually (printed). All options need to be displayed.
    Here's an example:
    SELECT PREFIX:
    A12
    B12
    C12
    They can check one of the above and then based on what they select, I want the next box (a text field) to pre-fill with their selection.
    So if they select A12, the text box would automatically fill with A12.

  • Auto populate for fields in ZTable

    Hi
    I created a Z Table with 10 Fields,Out of those 2 fields are timestamp and Created by.
    Timestamp and Created by are made Output only fields in Table Maintenance Generator
    SE11> ZTable>Table Maintenance Generator>Environment>Modifications-->Events
    Type -5  concatenate sy-datum sy-uzeit into ZTable-Timestamp.
    With which when user performs a manual posting in the table and save a record in SM30 the Timestamp is populated automatically.
    Similar to these how can i Auto Populate the Created By with the user id (logon id) of the user who made the posting.
    I tried to create a new event of type-5   - System is not allowing me to create a event another event of same time
    How can i enhance the exisisting event so that i can get Auto Populate of Created By
    Thanks in advance

    Hi friend,
    Put your code which populate user name inside form of event 5 (maybe below your existence code).
    regards,

Maybe you are looking for

  • Can I view a shared calender on iphone?

    hi, I use entourage 2004 with an exchange server. besides my own calendar I have a shared calendar, that I use with two colleagues. in entourage everything works as expected, on my iphone I can see my own calendar, but I can't see on my iphone the sh

  • Error while creating return order(Complaint) in IC web client

    Hi SAP Experts, I am getting following Error while creating return order(Complaint) in IC web client. Error when processing your request What has happened? The URL http://sapcrd.comfort.com:8000/sap/bc/bsp/sap/crm_ic/default_delta.do was not called d

  • Business Event Imparts with Skills (GAP UPDATE)

    Dear Experts, If the Business Event Imparts with Skill; does skill gets automatically updated once course attended by an employee? If <b>YES</b> – please explain what is required to be done to achieve this. Thanks in advance for all your efforts & I

  • Document for configuring Early watch alerts And issue tracking system

    Hello Experts, Iam on SAP Solution Manager 4.0 and need step wise step procedure document for configuring Early watch alerts and Issue tracking system in solman 4.0 . I hv checked Help site and other standard config docs by SAP but getting confused a

  • Can't install xp in Parrallels 5

    I am running an Imac snow leopard. Down loaded Parallel 5 trail version. When I insert the Windows xp there is a button to push to start installing xp and nothing happens. I did download windows on my pc so I don't know if that is the issue. any idea