LiveCycle: How to select a drop-down list and fill in a text field.

I have a PDF on Adobe livecycle 8.0 that if selected will auto fill the field area:

GoalDropDownList: has points:

People with disabilities

Functional

Impairment

I would like that when disability is chosen this GoalTextField show:

Patient will return to the previous level of function.

When functional is chosen GoalTextField to see the

Patient able to stand 5 minutes

When the disability is selected GoalTextField to see the

Patient has full range of motion

Any help would be appreciated.

I'm new so can you include in java script where it must go out, enter, etc..

Thank you all.

In fact I don't know how to show a picture of this to illustrate what someone knows how?

Write the code javascript next to the drop-down list in the change event.

var

selectedValue = xfa.event.newText;

If

(selectedValue is 'Disability')

TextField1.rawValue

= "Patient will return to the previous level of function.";

on the other

if(SelectedValue=="Functional")

TextField1.rawValue

= 'Patient able to stand for 5 minutes.';

on the other

TextField1.rawValue

= 'Patient has full range of motion. "

Thank you.

Tags: Adobe LiveCycle

Similar Questions

  • How to display the drop-down list box in MS excel by using labview report generation toolkit? pleasepost code block diagram?

    How to display the drop-down list box in MS excel by using labview report generation toolkit? Please post the block diagram of the code so that I can able to generate from the drop-down list box in excel with the menu drop-down...

    Like this. (edition, use the reference forms instead of the reference to the worksheet)

    Ben64

  • How to add a drop-down list to a rollover image?

    Hello

    I guess my title says it all... I was wondering how to add a drop-down list to a rollover image? I know that there is the sprymenu, but I need to have my own flight path images.

    Thank you

    Kazem

    Frankly, ANY link can offer a drop down.

    Take a look at This turorial.

    That you will get your menu drop-down. Therefore, only.

    Now, on your top menu (or any level where you want to have an image instead of text to do this):

    (I copy the HTML structure in the tutorial here):

    Now, suppose you want an image instead of the word 'works '. You'll want the image to be sized correctly, and if you look at the CSS, you will see that it is 112 pixels wide by 52 high. If your image is about of these dimensions, you're all set.

    So instead of 'items', you insert your picture.

    Fact.

  • HOW TO CREATE A DROP-DOWN LIST ON A WEB PAGE LIST?

    I would like help on how to create a drop-down list on a web page.

    I know that its pretty basic, but I'm only a beginner!

    See you soon

    Dan

    http://CSS-tricks.com/2282-simple-jQuery-DropDowns/

    http://coding.smashingmagazine.com/2011/06/16/five-useful-interactive-CSS-jQuery-technique s-deconstruted / # mega - drop-down list

    http://vandelaydesign.com/blog/Web-development/jQuery-drop-down-menus/

  • Problems with HR 9Printed Documentation do not display windows popup, drop-down lists and links

    Generate a Word document for reviewers. PrintedDoc properties include: maintain links Hypertext; Include text from the drop-down; Include text enlargement.

    • Sometimes the Word 2010 document contains links, sometimes it doesn't.
    • Pop-up windows does not work normally in the document Word.
    • Menu drop-down and expanding text appear intermittently in the Word document.

    Has anyone experienced this and have a solution?

    Thank you.

    Carol

    I have never known failure except in two cases, hyperlinks.

    1. The target field is not in the printed document. It cannot obviously a link to something that does not exist.
    2. The hyperlink is a popup.

    Not sure what you mean by popups not working only not in a printed document. If you mean that links to these break, then see above. Known issue.

    I don't know why you are having the drop down list, growing problem of text that I didn't know that it is a problem either. Is it always the same drop down menus that fail? Have you compared a good drop-down list and a bad dropdown?

    Take a look at the Documentation printed on my site.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • How to get a selection of drop-down list to complete another field with nothing

    Hello

    I have a drop down menu that fills another field according to what is selected (as shown here where Admin mistakes fills the next field with 6735-10-01).

    Capture-1.JPG

    However, there are 3 items in the drop-down list that I don't want to fill in the other with (basically, it must be empty during one of these 3 elements are selected, in contrast to how it returns zero in the example below). I don't know what to put in for the values to make it white.

    Capture-2.JPG

    Please notify.

    Kind regards

    ZeroZone

    I don't know what your code looks like or where it is but you will need to add a conditional statement, such as:

    If (DropDown.rawValue == "0" | ") DropDown.rawValue == "1" / * | "" etc, etc, * /)

    TextField.rawValue = null;

    on the other

    TextField.rawValue = DropDown.rawValue;

    Kyle

  • How to fill a text box after selecting a drop down list?

    I have created a form that has a drop-down list with different types of products. After a person chooses a product in the menu I would fill the text box with a description of the product.  I'm a newbie here, but I thought that was far from using JavaScript to do this. But wasn't sure exactly where to put the code and do I have to put it on the text box or drop-down list. Any help would be appreciated Ive been looking everywhere for a week and can find an answer.

    If (xfa.event.newText == "")
    {TextField1.rawValue =""}

    "On your drop-down list by using Java Script on the * change event.

    If you have three items in your list:

    A

    B

    C

    If (xfa.event.newText == "A")
    {TextField1.rawValue = "You chose the letter A"}

    If (xfa.event.newText == "B")
    {TextField1.rawValue = "You chose the letter B"}

    If (xfa.event.newText == "C")
    {TextField1.rawValue = 'You chose the letter C'}

  • How to create the drop-down list Actions?

    Hello

    I was wondering how to create this list drop-down list action in Adobe Livecycle when I choose a list item, it shows some fields of text under it.

    That is to say.

    Im having a drop down list which is having 2 1 list items is Yes and 2nd is no.

    Untitled.png

    Now, if I want to show some fields of text under it when I choose Yes and hide certain text fields when I choose No, what should I do?

    I also wanted to know that how to display the text fields in the pop-up box when I choose Yes.

    Thanks in advance!

    When you change the layout of a document in some way, you must save the PDF in dynamic PDF. Your currently saved him in the designer as a static pdf that's why nothing happens. Just do a file-> save as and select Dynamic PDF from the list. When you preview it the next time it will be set dynamic pdf.

  • New to LiveCycle.  Need help with drop-down lists.

    I just started playing with LiveCycle with PDF Forms.  One thing that I wonder if it is possible to do the link of the selections available in the drop-down lists.  For example, on a form with one question on this subject, I have 5 possible answers as the "ranking of your favorite in the order of most loved at least liked fruits".  Then I have a series of 5 drop down list with the first box containing boxes "Apple, pear, fishing, strawberry, grapes.  Is it possible to have someone to make a selection in the first box, their fruit in the list, and then the second box would have four options to choose?  Say if apple was their favorite, only, pear, fishing, strawberry and grape would be selection?  I tried to find an answer, but I'm afraid I don't know enough about the capabilities of LiveCycle, and/or how to work with scripts (I think that's what I see people using).  If someone could take the time to try to push myself through this, I would appreciate it, of course.

    Here's a form to date. I had to get help from a programmer friend, so it is a code evolved. I used a script object to reduce the volume of code.

    Take a look and let me know what you think.

    Paul

  • How to use spawning with a drop-down list and a table area

    Hello

    I have a form that I need to build pages.  As it is now, I have a table in document and a drop-down list box.  When a selection is made in the drop-down list box, the StateAmt field is filled with the table.  This set works fine now, but I need to be able to make this code work with pages having engineered and need a bit of help.

    It's my javascript document:

    var gState = new Array //Create a reference to a new array

    load the table with quantities for each State

    gState ['AL'] = 40

    gState ['AK'] = 40

    gState ["AR"] = 40

    gState ["z"] = 25

    gState ['CA'] = 25

    .. .and so on, I deleted the most to make the shorter script here

    It's my script custom shot to a combo box "gstate" (FYI, I've added the initials of the State in the tab options in combo box)

    var stateamt = this.getField ("G876. StateAmt')

    If (event.changeEx to gState)

    stateamt. Value = gState [event.changeEx]

    This works very well for one page, but when I add another page (model laid) nothing happens after you make a selection in the drop-down list box.  I don't know I need to edit the script due to spawning change the domain names on each page, but I don't know how.  I tried to rename the combo gState1 and using this script (which does not work)

    Fna var = event.target.name.split(".");

    var fp = fna.length > 1? "fna [0] +". ' ' + fna [1] + ". » : » « ;"

    var stateamt = this.getField(fp_+_"G876_StateAmt").name / / (this is G876. StateAmt in the original formula)

    var = this.getField(fp_+_"gState1").name //(this is gState GST on the original form)

    If (event.changeEx in GST)

    stateamt. Value = gst [event.changeEx]

    If anyone can help me with this, I would be very grateful.

    Thank you

    Lisa

    I fugured it myself. It works:

    Fna var = event.target.name.split(".");

    "var fp = fna.length > 1? fna [0] +". ' ' + fna [1] + ". » : » « ;"

    var stateamt = this.getField (fp + "G876_StateAmt")

    If (event.changeEx to gState)

    stateamt. Value = gState [event.changeEx]

    I didn't totally understand the script and trying to change the wrong part.  It is still using the gState table and I needed to change the text box to get the information in the table.

  • How to produce a drop-down list simple code description for the OPS?

    I'm sorry this is a basic question, but I tried for days, and I see nowhere else to find an answer.

    I need a simple drop-down list, not a search. Here is the list account 10 or if items. It is based on a view that contains a code value, and a description. I want that all the descriptions to be available at all times. Just click on the arrow, and the entire list is displayed. When the user selects an entry, the code associated with the discription fills a related attribute.

    Can someone please tell me how I can produce such a simple thing, or point me to the documentation?

    Thank you.

    Hello

    not sure OFA's lists-driven model, but it's how solve you that problem in the ADF. For OAF related issues, please see the OA framework

    Frank

  • Selections from drop-down list in the text box is not saved when PDF is saved/sent

    I have a drop-down selection list and items can be added from the drop-down list in a textbox as multiple items. (this work all fine)

    When I send the form as a PDF and then all the other field values is saved, except the values entered into the text selected in the dropdownlist control box.

    How can I get these values to be saved in the PDF file so that these values disappear.

    Thank you so much for everything tips to get this working so that when the form is sent by e-mail the selected values go with the form

    .. run only in the file > Properties > tab by default , that the changes of Script preserve is set to Automatic.

    Niall

  • How to use the drop-down list box to fill in a text box

    I'm a beginner when it comes to Java Script.  I have seen a lot of different discussions, look at a lot of articles "helping" Acrobat 9 and Java Script, but only to be left confused and dazed.  I hope someone can tell me how to write a script that fills a text box that sits on my form with the value of exports of the selection in the combo box...

    Thank you

    If you want that the read-only text box, simply set with the following custom calculate script:

    Set this field to the value of the drop-down list box

    Event.Value = getField("combo1").value;

    but replace "combo1' with the actual name of the combo box field.

    If you want something else, post again with more information.

  • Select from the drop-down list and populate a list in another menu drop down

    I have a drop down list with 10 items in the list. If possible, would like for a selection in the drop-down list to populate a drop-down list with another list of selections. Each of the 10 points in the first list each will have a list of different options in the second drop-down list. I don't know how to build this solution.

    Thank you

    MDawn

    Hello

    It was because of the clear rawValue script that I put in the output from the drop-down list event businessFunction.

    I fixed it:

    // clear the current selection in the department dropdown
    dept0.rawValue = null;
    dept0.execEvent("exit");
    

    https://Acrobat.com/#d=MrWYQbTZIR7xJQDlm5ZSLg

    Good luck

    Niall

  • First element of the ADF/JSF select a drop-down list is empty

    Hello

    I'm using ADF/JSF and SelectOneItemList. Everything works fine, but the first item in the drop-down list is empty. Therefore, unless the user clicks on the drop-down menu, empty everything he sees is a text box with a drop down arrow. How do I:

    1. Add "Select" to the element highest in the list, so that the box is not empty. For example. If the list has 'empty here', 'Car', 'Train', 'Plane' - how to have the first item indicated as "Select"?

    2 get the first item in the list to display in the empty box. For example. If the list has 'empty here', 'Car', 'Train', 'Plane' - how to have the first item indicated as "car"?

    Thank you

    Use the attribute unselectedLabel of the component
    unselectedLabel = "Select".
    or
    Assistant of VO value for 'No. Selection' point.

Maybe you are looking for

  • How can I block a site that keeps changing my Java?

    I want to ban a site that keeps wanting to change my program Java in Java 'Oracle' to something else. Is there a way to block specific sites in Firefox? I am running Windows 8.1 on a Toshiba laptop and have Firefox 25.0.1 Mozilla 26-1.0

  • IBM T30 Speedstep problems

    Heyo I have an IBM T30 2366-85U. I can't run at full speed during the use of current alternative. It comes down to 1 .2GHz any options choose in bios or power options in Control Panel. Under windows XP. Someone has ideas of how to do to solve this pr

  • No WiFi for Compaq Presario C770US

    My Compaq Presario C770US notebook not a not the insltalles pilot Wi - Fi so I can't connect to it. I tried to find the driver online but had no luck. Can someoen link me the driver so that you can download and use the internet connection please?

  • T510 Fingerprint Reader Light

    When I stop my fingerprint reader T510 stays on. Does anyone know if it is supposed to do that? I've only had the phone for a week and it didn't do the first time I stopped him.

  • When you try to uninstall PCMightyMax I get error and it won't uninstall.

    After I downloaded pcmightymax I decided that I didn't want it so I tried to remove the program, but I have still two pop-up windows of the program telling me that I get errors how to remove these pop ups original title: persistent pop ups