Drop down value triggers fills the field of text able to appear.

Am back, I have a form that is capable of filling that I am very satisfied, but I still want to do some improvements more.

I want to be able to use my drop-down list values to trigger new windows

For example: if I have a drop down menu which asked for the title and the choices are CIV, MIL, CTR if they chose to MIL, I need to know what their rank is, but if they choose CTR I need to know what company they work for.

So, if they CTR has chosen, to the right of the value, I would like a text field to appear saying the company name: _ so they can fill it.

I could find some information, but it was design to have choice narrowed down I just need to fill areas of text able to appear based on a selected value drop.

Thanks again

I created a sample for you... .the code is located on the output of the DDList event. In my case, I used the same field to enter the News extra and just changed the legend based on the chosen value. I want to what you think.

Paul

Tags: Adobe LiveCycle

Similar Questions

  • 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

  • I created a PDF form with several drop downs, all with the same drop-down values. When I select a value of 1 in the drop-down list fields, it breeds in all others - which I don't want. How can I fix?

    I created a PDF form with several drop downs, all with the same drop-down values. When I select a value of 1 in the drop-down list fields, it breeds in all others - which I don't want. Can I fix?

    I am fairly new to this, but I think it has to do with the way you have drop them downs named. Copy you a then keep stick in each area? If so, that's the problem. You must rename each with a different number: Dropdown1, Dropdown2, etc. I think this might solve the problem.

  • Value of the drop-down list instead of the text

    I want a drop-down list that includes complete definitions for the user to watch but when they choose the item they want only the abbreviation indicating on the form. For example, in my items list is said 'Illinois', but when they select "Illinois" she fills the field with the bind value of 'IT '. Is this possible?

    See the attached file... If it helps...

    I place a TextField on the top of the drop-down list and setting the rawValue selected the TextField... In the case of exit of the combo I hide list drop-down and display of the textfield object. Similarly, in the event you enter in the text field, I am displaying the drop-down list field and hide the text field.

    This way I can show 'IT' If you choose "Illinois" in the menu dropdown.

    https://Acrobat.com/#d=7Y0qDg-ld6nWNxw8G-0cNg

    Thank you

    Srini

  • A drop-down list can do the calculation based on the value selected in a drop down list?

    Form Acrobat X Pro Adobe

    Can I have a drop down list create a calculation based on the value selected in the menu drop-down?

    We have a set lunch and want the user to choose to be "A lunch', 'Lunch B'"C Lunch"or"just the milk. "

    It is for each of the 5 days of the week. There are therefore 5 drop downs, which have all the same 4 above choice.

    If the user chooses among the 3 lunches and then put $2.00 in the total box at the end of the line. If 'Just the milk' may put 0.50 in the box.

    The total area at the end of the line must keep a record of all 5 days and give a total.

    So if someone chooses lunch A LUN, sea and Sun and just milk for Tuesday and Thursday and then the total for this week must be $7,00

    Is it possible by using code or something?

    I did it in Excel, but we need it is an Adobe pdf file.

    TIA

    OK the total box has a 10 all the time to make it look like $ 2.00 for

    everything.

    Before even that I chose something there are 10 in the box.

    I am a newbie to Adobe scripting Total used VB/A .NET etc ' 1980

    However.

    Can you do any debugging in code?

    Initialize the sum

    var sum = 0;

    Make a loop on the drop-down list boxes and add the cost of the invoice sum

    for (var i = 1; i)< 6;="" i="" +="1)">

    Sum += getField("Week1Day"_+_i).value == 'just milk? 0.50: 2,00;

    }

    Set this field to the amount

    Event.Value = sum;

  • 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.

  • Display the export value of the drop-down list instead of the element

    I'm showing the value to the export of a drop-down list instead of the selected option or the user selects BLACK, but the value of exports of BLK is actually displayed.  I can find many discussions on how to get the value of the exports and display it or use it to trigger another answer in another area and I can usually tweak my existing JavaScripts when I need something new, but I just can't wrap my head around this!

    This is my last attempt (failed)

    var f = this.getField ("eyes");

    If (event.value is 'Black - BLK')

    f.Value = "BLK".

    I use Acrobat PRO DC.

    Any help is appreciated,

    Thank you

    Xavier


    I've been doing this for a long time and have never heard of anyone who wants something like this, so it is interesting. Remove your current script and try the following script Format customized drop eyes:

    Custom drop-down list Format script

    Event.Value = event.target.getItemAt (event.target.currentValueIndices, true);

    This defines what is displayed in the drop-down list in the value of exports of the selected item. Select the 'Value selected to validate immediately' option to the drop-down list for smoother operation.

  • Using an Excel spreadsheet to fill the fields

    Hello

    I am creating a form with LiveCycle Designer 8.2 where the user selects a field, and then a lot of fields is filled automatically based on the selection.  For example, the user selects the name of the project, on which they work and then project details (for example the location, owner, contact, industry, etc.) are automatically populated with the data from an Excel worksheet.

    I will distribute this form to a wider audience, so data that fills the form will have to "stay" with the form after the distribution.  The worksheet Excel should be sent with the form to get there?  Or the data automatically move with the form once it is sent?  If not, is there a better way to accomplish such a task?

    Examples would be extremely useful.

    Thank you!

    While you can create a PDF file from an Excel spreadsheet, the intention is to capture the appearance of the worksheet and not on the behavior associated with the worksheet. You must add objects in the designer to make the interactive form. In addition, you can use Excel data to populate list boxes and drop-down lists at the time of the design, but the worksheet has no relevance running.

    The simplest solution in my mind is to export data from Excel to a comma-delimited format and use the data to create one-dimensional arrays in the designer. The tables can be used to fill drop-down lists and drive the behavior of the form.

    By example, for a menu drop down called 'projectName' create an initialize event that calls a function in a script object called "loadProjects".

    Form1.Page1.Subform1.ProjectName::Initialize - (JavaScript, client)

    myScriptObject.loadProjects (this);

    The function loads the drop-down menu with the values in the table called "projects". On the exit "projectName" event, if a value is selected in the menu drop-down 'loadData' function is called to fill the 'rent' and the 'owner' based on the index of relative table. If a value is not selected in the drop-down fields 'rent' and the 'owner' are reset.

    Form1.Page1.Subform1.ProjectName::exit - (JavaScript, client)

    If {(this.isNull)

    Form1.Page1.Subform1.location.RawValue = null;

    Form1.Page1.Subform1.owner.RawValue = null;

    }

    else {}

    myScriptObject.loadData (this);

    }

    Form1. #variables [0] .myScriptObject - (JavaScript, client)

    projects of var = new Array ("","ABC","DEF", "GHI");

    localities of var = new Array ("","Sacramento","Ottawa", "Fernie");

    the owners of var = new Array("","Anne","Bruce","Carl");

    function loadProjects (dropdownField) {}

    for (var i = 0; i)< projects.length;="" i++)="">

    dropdownField.addItem (projects [i]);

    }

    }

    function loadData (dropdownField) {}

    Rentals [dropdownField.selectedIndex] = Form1.Page1.Subform1.location.RawValue;

    Form1.Page1.Subform1.owner.RawValue = owners [dropdownField.selectedIndex];

    }

    Steve

  • Selection of an item in a Drop Down Menu to activate a field

    Hello

    I am using LiveCycle Designer ES to create a dynamic form and I hope to have one 'other' field will appear when 'other' has been selected in the menu dropdown. I worked on how each of the drop-down list elements give a value of the specified element and use it to trigger the presence of the field 'other '. However I'm not sure what event to use to activate the code of presence.

    Thanks in advance.

    You can write code in the event of changing the drop-down list or in the output of the dropdown event.

    If you use the variation in consumption below syntax event...

    If (xfa.event.newText is "Other")

    fieldName.presence = "visible";

    If you use the exit event use the syntax below...

    If (this.rawValue is 'Other')

    fieldName.presence = "visible";

    Example of file is in the rental...

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

    Thank you

    Srini

  • Check generate some Comp based on the drop-down list box and the selection list?

    I currently have a dropdown list with the three sizing options in it. Then I have two check boxes, one is ticked ideally would create the model to its normal size composition and if other is checked that it would reverse the widthxheight in the size of the composition. Then below that I have a "Generate" button, I want to be able to click and according to my selections, it creates the model.

    Looks like I need a kind of if then statement, but I'm having a hard time putting the two together. See below what I have so far.

    There may be missing parts, but I have it all working in a decibel pallate currently. I don't have functionality related to a button again.

    Any help would be appreciated!

    (also I don't know how to format the script spread here so apologies for that)

    ---------------------------

    palette controls

    templateGen.VerticalCheckbox = new Object();

    templateGen.HorizontalCheckbox = new Object();

    set the values for controls

    templateGen.comLookup = new Object();

    templateGen.compLookup = 'Template1 ';

    templateGen.compLookup = "Template2";

    templateGen.compLookup = "Template3."

    function templateGen_getHashValues (hash)

    { // {{{

    var ary = new Array();

    for (k hash) {}

    ARY.push (Hash [k]);

    }

    return area;

    } // }}}

    menu "composition".

    var panelGrp1 = templateGen.palette.add ('Panel', undefined, 'Templates Comp');

    compGrp1 = panelGrp1.add ('group', undefined, 'List templates');

    compGrp2 = panelGrp1.add ('group', undefined, 'Orientation');

    compGrp3 = panelGrp1.add ('group', undefined, 'Generate');

    templateGen.compList = compGrp1.add ('dropdownlist', LIST_DIMENSIONS, templateGen_getHashValues (bapple.compLookup));

    templateGen.compList.helpTip = "choose the type of desired here device model. All compositions are 60 fps. « ;

    templateGen.compList.selection = 'Template1 ';

    templateGen.compList.graphics.foregroundColor = darkColorBrush;

    templateGen.VerticalCheckbox = compGrp2.add ('checkbox', undefined, 'Portrait');

    templateGen.VerticalCheckbox .value = true;

    templateGen.HorizontalCheckbox = compGrp2.add ('checkbox', undefined, 'Horizontal');

    templateGen.HorizontalCheckbox .value = false;

    templateGen.generateBtn1 = compGrp3.add ('button', undefined, 'Generate');

    applyBtn.onClick =? ;

    When I work with drop-down menus, I always liked to tie the data they represent (like the width and height of the model in this case) directly to the elements.

    I run the code to really check, but it should work like this:

    -----------------

    Add models to your drop-down list and store the items in a table

    models var = [];

    models [0] = templateGen.compList.add('item','template1');

    models [1] = templateGen.compList.add('item','template2');

    models [2] = templateGen.compList.add('item','template3');

    set a width and height of each element

    models [0] .width = 1280;

    models [0] .height = 720;

    models [1] .width = 1024;

    models [1] .height = 768;

    models [2] .width = 1920;

    models [2] .height = 1080;

    Choose the item that should be selected by default

    models [0] .selected = true;

    applyBtn.onClick = function() {}

    read the width and height of the selected item

    var width = templateGen.compList.selection.width;

    var height = templateGen.compList.selection.height;

    {if (templateGen.VerticalCheckbox.value)}

    swap width and height

    var temp = width;

    width = height;

    height = temp;

    }

    now create your comp here with the given width and height

    }

  • Is this possible? Subforms appeal based on the drop-down list associated with the database

    I'm hoping to make a dynamic shape and I wonder if it's possible.

    I have a database with about 300 entries - pieces of agricultural goods and a few little bits of info on each of these properties. I want to create a form where users can choose the piece there rather than the property in a drop-down list. Based on the property they select, another menu drop down to fill with the cultures associated with this property. Then based on the selection made in this drop-down list, a specific form will be brought upward.

    For example, a person selects property #102 in the drop-down list. In the database, property #102 is associated with wheat, barley and corn, so the next drop would be complete with these three cultures. The user selects the wheat in the drop-down list and the form of wheat would be called. 

    I hope I explained that well enough.

    Is this possible? And if it's possible, how complicated to do? Assuming that I already have the database and subforms, it would be a long process from weeks to the script, or it would be simple enough?

    Yes, this could be done, here is an example that should help: Drop dependent dropdown (specimen attached)

    On the basis of selection (change event of the second menu drop-down), you can show or hide a subform.

    -Wasil

  • How to delete the history in the drop-down menu search in the middle of the Start Page?

    I deleted the whole history using clear all and restarted FF. The drop-down list search in the middle of the Start Page always displays all of the research I did in the past to him. How can I remove this from this search bar?

    What is the URL of the start page?

    You can remove the formhistory.sqlite file in the Firefox profile folder to delete all stored form data.

    You can use this button to go to the Firefox profile folder:

    You can delete all data stored in Firefox with a specific area through "Forget this Site" in the context menu of a history entry ("" history > view history "or" view > sidebar > History "") or via the subject: permissions page.

    Using "Forget this Site" will delete all data stored in Firefox in this area as bookmarks, cookies, words of past, cache, history, and exceptions, so be careful and if you have a password or other data from this area you don't want to lose so take note of these passwords and bookmarks.

    You can't recover from this "forget" unless you have a backup of the files involved.

    It has no lasting effect, so if come back you on such a 'forgotten' site, then the data of this Web site will be saved once more.

  • There used to be a drop-down list next to the arrows to go fwd and back through the pages. He showed the last several pages viewed. I also miss the option to the fence that allowed you to reopen all the tabs you closed with. Can recover us these feature

    What do you most need?

    You can get the menu drop-down by clicking on the previous/next buttons or now the left key pressed until the list is displayed.

    If you want the drop-down arrow, you can add it with the add-on of dropmarker rear - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • I have a new MacBook Pro 13 "." When you click on almost ANYTHING, I get a drop-down menu, rather than the simple task. This includes a link to closing a window, writing a message of openness. Whatever it is. I've updated to 10.11.2.

    I have a new MacBook Pro 13 "." When you click on almost ANYTHING, I get a drop-down menu, rather than the simple task. This includes a link to closing a window, writing a message of openness. Nothing, including the drafting of this issue. A screenshot is included. I've updated to 10.11.2.

    Thank you!

    Bill Koechling

    Is it possible that you accidentally tap the touchpad with 2 fingers?

    Try to go to the preferences system-> Trackpad-> point & click and disable the "Secondary click" item Or change one option other than water from the tap 2 fingers.

  • Drop down menu after selecting the option from drop down

    When I choose a country, I need the cities in the counties to appear in the drop-down list option in the next cell.

    Need to set up the performance of sales by the engineers by country.

    Hello

    (1) on application/program which you experience this problem?

    (2) you try to create a program or a Web page?

    Just answer us with more information so that we could help you better.

Maybe you are looking for