Multiple dependent drop-down lists in Acrobat

Hello

I'm a poster for the first time, but I found valuable information here in the past, so I hope someone can help me with a PDF form that I created.

I'm looking to have a choice from a drop-down list (departments) complete 4 other drop-down lists (software available for the selected Department).

For example: in box1, the user selects 'Graphics' Box2, Box, Box 4 and 3 Box5 is filled with the same exact options (Photoshop, Illustrator, InDesign, etc.)

Currently, I can fill Box1 and according to what is selected framed 2 fills correctly.  However, I can't get the other boxes to be filled. I've been using the referenced scripts here and I will paste it below.

Any help would be greatly appreciated.

Thank you.

Ex:

Let's say you have two combo - box1 and box2 boxes.

And let's give box1 chooses 3: Blank, a and b.

If the user chooses option, box2 will contain choices C and D.

If the user chooses option, box2 will contain the choice E and F.

Don't forget to check the "selected value Commit immediately" for the boxes.

In box1 use the scrip hitarticle t and edit:

If (event.willCommit)

{

If (event.value == "")

If nothing is selected in box1, box2 is erased

this.getField("box2").clearItems ();

on the other

SetFieldValues (event.value);

}

Then you should change the script document of the article a bit.

First make you the values for box1.

myBox1Values = ["", "a", "b" "];


Then, you fill the values in box1.

this.getField("box1").setItems (myBox1Values);



You define then which should be displayed in box2 value is selected

var DeptData = {a: ["C", "D"],

b: [« E », « F »]

};


Finally, you set the values of box2

function SetFieldValues (cDeptName)

{

this.getField("box2").setItems (DeptData [cDeptName]);

}

> TypeError: getField ("software Department 2") is null

What this means is that there is no field by that name. It must match exactly.

The syntax error is more difficult because I do not see the exact script you use. If you can not post a sample, I'd be happy to take a look if you are free to send it to me: acroscript at gmail point com

Tags: Acrobat

Similar Questions

  • Using the dependent drop-down list

    I created a form of dependent drop-down list in Acrobat X Pro using the example in the tutorial:

    http://acrobatusers.com/tutorials/js_list_combo_livecycle

    This code works very well, however, this tutorial only works if the options for dropdwon lists are complete words. Several words separated by spaces cannot be used because the main list options are used in the form of tables. In this tutorial, for example, the main list options are: Chassis, clutch, etc. (a Word). This technique does not work is for example, if the options in this list are 'Cylinder Ring', 'Insert', etc.

    Any ideas on how to implement function dropdow lists using multi-word options?

    Thank you.

    Just put in quotes the properties of the object. For example:

    var oAssemblyParts = {}

    "Châssis":]

    ["' - ', 'None'"].

    ['Rear Bracket', 205,95],

    [48,95, "Front bearing"]

    ],

    'Cylinder Ring':]

    ["' - ', 'None'"].

    etc.

  • How can I create dependent drop-down list. ?

    Hello

    How can I create dependent drop-down list in my custom page.

    JAG

    Hello

    See my prev thred:

    Re: List of choices dependence relative to a framework for Oracle Page

    Concerning
    Meher Irk

  • Registration of dependent drop-down list values

    Hello

    I have a form that has a dependent drop-down list, that is, if a user selects a value, another drop-down list is filled with other choices. This works with success, however if a user saves the form with these selected values, when they open the form again the first drop-down list value disappeared; is it possible to validate this value when the form registers so it does not disappear on reopen?

    Thanks a lot for your help.

    Scott

    Of course, I would be happy to take a look.

  • How to import excel list in the drop-down list in acrobat pro DC

    Anyone know if an excel of 527 points list can be imported in a drop-down list in adobe acrobat DC? I'm on a mac v10.10.

    I would like to convert the Excel worksheet a file delimited by tabs. Edit this file in a text editor, no word, in a list that meets the formatting of the table for the setItems method. Then add the code to use this table to set the elements of the fall to the bottom of the field. If you have something like:

    var MyItems = new Array ("One", "Two", "Three");

    this.getField("Dropdown1").setItems (MyItems);

    You can then cut and paste this in the JavaScript console, highlight text and run the text. Or cut and paste the code into a JavaScript document level.

  • Dependent drop-down list of ADF works only not for me

    I used the following example

    [http://ranajitsahoo.blogspot.com/2008/05/how-to-implement-dependent-drop-down.html]

    I can't list the employee to complete.

    I tested my emplist of the tester module app object and the values have been retrieved after that I get my setting for deptid

    This is what I checked:

    Properties departmentList - autosubmit = true, id is empdeptid

    Properties EMPLIST - triggers partial = empdeptid

    Def Page Properties:
    Links
    Run with the settings has been added
    iterator is Emplistiterator bind value = bindings. EmployeesView1DepartmentId.inputValue

    Executables:
    Call action has been created binded to executewithparms and placed before the emplist
    updating has been configured to render a model


    Can we see something that I missed?

    Hello

    using invokeAction is not a strong implementation as it fails for applications PPT. It only loads when the page is refreshed and there, it is not very reliable. The best option is to write code in the valueChangeListener for the departmentId field and run the query programmatically.

    Frank

  • Dependent drop-down list

    Hello

    I have 3 tables:

    ProductTypes

    Products

    Cash

    When inserting into the table of cash I need to allow the user to select from a drop down menu the producttype then pre filling products taking place with the productID.

    What I have to do is then then when select it the ID of the product, he puts the ref and product description in a box of text in the same form?  no idea how to do this?

    the first part, I can do with the drop to the bottom of the Wizard but don't know how to then get to see in the text box as the drop down Wizard creates 2 recordsets?

    I hope someone can help.

    Thank you very much

    See if this helps: http://roshanbh.com.np/2008/09/change-textbox-value-dropdown-list-ajax-php.html

    -rayne

  • Several drop-down list selection

    I am newbie on OBIEE. I have a dashboard that has a prompt of commands and a report. On the command prompt, I need supplier a selection to multiple address drop-down list. So I clicked on the available column in the left columns. And I put the control as a multiple selection. When I run the report, the pop-up multiple selection works very well but the result of the report do not seem to take into account what I choose in the multiple selection box. What should I do on the side of the report. I have add this column in the filter and is invited...

    Please notify.

    Hey,.

    To reflect the columns in the report. You must invite these columns in your reports.

    For EXAMPLE: You have created a guest 'Éducation' and gave
    Operator: equivalent in
    Control: Multi Select
    Show: All values (do not check limit here)
    Default: the default values report.

    Save the prompt.

    Now, you have created a report with education, region, Distrinct, column etc...
    In the filter (section Education Say is invited)

    Then, the command prompt will be reflected in the report.

    -If your problem is resolved, Reward Points and close the thread as an answer to help others :)

    Published by: 831909 on March 23, 2012 07:35

  • MultiSelect - drop-down list

    Hello

    is it possible to use the selection type multiple select/drop down list?
    I have not seen this option in the APEX so far.
    No alternative workaround to use the 'Checkbox '?

    Thank you!

    BR
    Lena

    Hi Lena,.

    just use the element type 'Select list' and 'Allow Multi selection' value = yes and "Height" for example at 10. That should do it.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Dependent drop-down box ADF problem

    Hi all

    I use Jdev 11 g and trying to implement two dependent drop-down list boxes (change of a drop-down list box will invoke the change list in another dynamic). I followed the steps exactly from this link,

    http://ranajitsahoo.blogspot.com/2008/05/How-to-implement-dependent-drop-down.html

    However, once I start the page, only the Department box appears. The box of the employee shows ever upward. When I look at the newspaper, it is the following warning message.

    oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding getInputValue
    WARNING: ADFv: selected item corresponding to the value of 100 type could not be found: oracle.jbo.domain.Number in the list of values.

    If I choose one of the elements in the service box, the area still used does not appear and the right warning message printed in the newspaper.

    Anyone know what I did wrong?

    Thank you very much

    John

    If you use 11 then try this approach:
    http://www.Oracle.com/technology/OBE/obe11jdev/11/adfbc_new_features/adfbc.html#T2

  • Acrobat Pro XI - import Pdf when you use the drop-down list

    Hello Adobe community,

    WARNING: Newbie here

    I am trying to import an existing pdf, after that the user has selected an item in the drop-down list. For example; I have a form with a menu drop-down and three points on the list (caustic diesel, heavy and hydrocarbons). Each item in the list has its own PDF which must to be imported into the document if selected. Once the user has selected in the list, I need to import a pdf file into the existing document. I did some basic research, but can find no chance.

    Any tips or tutorials that I can search will be appreciated.

    Thank you

    Again, it is delicate. You can show/hide entire pages to convert them into models and by changing the value of their hidden property, but this only works in Acrobat. In Reader, you will need to convert the model pages, hide them and then use a script to spawn them when you want to show them and then delete them when you want to hide once more. Possible, but not easy to implement.

  • How can I right - justify text in a drop-down list field in Acrobat 11?

    I have a literal that we want to include as a prefix in front of a field of account number.  Users wanted an option to use a No.:o account r
    Account number:, so I was going to justify the choices in the right drop-down selections but I do not see where to change the alignment propterty.  I used spaces before the non-literal account, but it would be better if I could right - justify the selections in the drop-down list box.

    Please let me know if there is a way to do it.

    Thank you!!!

    What exact version number? Look under help - about Adobe Acrobat.

    I also use Pro XI and that's what I see:

    I just thought of something, you should try... Look under Edit - Preferences - language and make sure that "Enable right-to-left language options" is checked. Maybe cause this option to appear.

  • Using a choice of multiple words in a drop-down list field to launch a java script

    I'm a complete newbie to manuscript of java and relatively new to your building in Acrobat.

    I use a drop-down list field to fill in automatically other fields based on my 1st drop-down list selection.

    The 1st field drop-down allows me to select a variety of suppliers.  Once I have selected the vendor, he auto-remplit the coordinates for this provider.

    I've plagiarized the writing of scripts from this link: https://acrobatusers.com/tutorials/change_another_field.  I even changed my domain names for the moment.  I'll change my return form field names and the script to match once I got it working like I want.

    If I use only one name in my drop down list provider (1 field), the script works perfectly and auto-remplit contact as expected information.  However, many of my suppliers are two words or more... and I need those names in print, so I can't do just a contraction of a Word.  Here is the script I use:

    Here is an example of a supplier of single word name that works as expected:
    Put all vorkriegsbevölkerung data in a single data structure
    var DeptData = {ADLEMI: {contact: "P.O. BOX 2371",}}
    E-mail: "DOWNEY, CA 90242."
    {{deptnum: "PHONE: (562) 923-0333 FAX: (562) 923-8111 '}};
    function SetFieldValues (cDeptName)
    {
    this.getField("DeptContact").value = DeptData [cDeptName] .contact.
    this.getField("DeptEmail").value = DeptData [cDeptName] .email;
    this.getField("DeptNumber").value = DeptData [cDeptName] .deptnum;
    }

    Unique provider name, I used in the example above is "ADLEMI."  If I add 'BEST' to ADLEMI (see below), I get a syntax error.  I really need to be able to use several words in my list drop-down provider to trigger auto-fill.

    Put all vorkriegsbevölkerung data in a single data structure

    var DeptData = {ADLEMI BEST: {contact: "P.O. BOX 2371",}}

    E-mail: "DOWNEY, CA 90242."

    {{deptnum: "PHONE: (562) 923-0333 FAX: (562) 923-8111 '}};

    function SetFieldValues (cDeptName)

    {

    this.getField("DeptContact").value = DeptData [cDeptName] .contact.

    this.getField("DeptEmail").value = DeptData [cDeptName] .email;

    this.getField("DeptNumber").value = DeptData [cDeptName] .deptnum;

    }

    The only difference is that I added a space and the word 'BEST' after ADLEMI.  Is there a way to get around this.  I need to have several words in my drop-down list, or at least the full name of the vendor indicating in the field when I print it.

    Thank you

    Place quotation marks around the name of the element.

    Monday, April 13, 2015, at 17:29, bpwhistler, [email protected]>

  • Create a dynamic drop-down list field in Adobe Acrobat Pro XI

    Hi all. I am creating a field in one of my forms using Adobe Acrobat Pro XI. I have a drop down list of 'core' items, and according to what is selected in the list, I want a second drop-down list to give different choices. I've searched and searched and have javascript that I thought might work, but maybe I'm have a mistake or I'm place javascript code in the wrong place, because it does not work. I know very, very little about javascript, any help would be so appreciated.

    I use Adobe Acrobat Pro XI. I added a "new field" and selected "drop-down list. The domain name is ProvType. The options of the menu drop-down are:

    Hospitalized patients

    External consultations

    Doctor

    I have "Commit selected value immediately" selected. The field is not validated. The format is 'none '. There is no measures or calculations associated with it.

    I then created another dropbox and named SubProvType. Under Actions, I selected the trigger as the mouse upwards and then selected the Action "executes a JavaScript script. I selected the Add button and he hit in the JavaScript editor:

    Switch (ProvType.rawValue)

    {

    case "Hospitalisation":

    this.setItems ("Hospice, hospital, Nursing Facility");

    break;

    "outpatient": case

    this.setItems ("adult day Center, Home, others");

    break;

    case 'doctor ':

    this.setItems ("surgeon, general practitioner, neurologist");

    break;

    }

    What I want to do is:

    If "Hospitalization" is selected, I want only the following options to be available in the second drop-down list box "SubProvType":

    Palliative care

    Hospital

    Nursing facility

    If "outpatient" is selected, I want only the following options to be available in the second drop-down list box "SubProvType":

    Adult day Center

    Home

    Other

    If the 'doctor' is selected, I want these options to be available in the second drop-down list box "SubProvType":

    Surgeon

    Family practice

    Neurologist

    However... when I close form editing and try to select a different option in the ProvType field, SubProvType field is left blank and there is no options available. Also, there are no errors.

    I must be missing something, but I have no idea where to start. Thank you in advance for any help anyone can provide.

    Use this code as the ProvType custom validation script (and remove any code that you have associated with SubProvType):

    switch (event.value) {
        case "Inpatient":
            this.getField("SubProvType").setItems(["Hospice,Hospital,Nursing Facility"]);
            break;
        case "Outpatient":
            this.getField("SubProvType").setItems(["Adult Day Center,Home,Other"]);
            break;
        case "Physician":
            this.getField("SubProvType").setItems(["Surgeon,Family Practice,Neurologist"]);
            break;
    }
    
  • Drop down the list in the grid depends on the drop-down list at level 0

    Hi all

    In my subpage, there are three areas of drop-down list D1, D2 and D3.

    D3 is grid to level 1 on a secondary page and the quick Table in D3 have 3 Keys.Key 1 and 2 keys are the same field as D1 and D2. As the D3 is dependent on the D1 and D2.
    The first time, D3 empty remains same I selects values D1 and D2, but when I EndModal (1) and then come back, D3 has values.

    What is going on?

    What is the solution for this scenario?

    Thank you for your help in advance.

    Yes, this seems ok, as D3 is dependent on the key high level D1 and D2 and you delete all lines, which leaves a new line empty.
    I thought that if you select auto on on your grid values of D1 and D2 should automatically be copied at level 1.
    If this isn't the case, it has no harm to set these values as you.

    Note that this will change the buffer and the user receives a message that the changes have been made and if the user want to continue or go back and save.
    So a DoSave() somewhere in your code would be nice.

Maybe you are looking for

  • Impossible to set up a wifi or ethernet connection after clean install XP

    Hi, I recently did a fresh install of XP on a laptop Toshiba Equim M50 - 164 PSM57E of friends by following the instructions in this link. http://www.easydesksoftware.com/i386.htm I now have extreme difficulties set up the internet connection wifi, n

  • Do not show this message

    So I delete a message today on Skype and I accidentally clicked on the box that says, do not show this message. Is there a way I can receive only pop up again? I wish I had the confirmation when I delete messages again.

  • Cannot access BIOS for Compaq CQ35

    Hello I have a Compaq Presario CQ35-213TX. The original with Windows 7 hard disk crashed and I managed to change and installed Win8. However, I can't access the BIOS. The BIOS resides in a hidden partition on the hard drive of origin who had disappea

  • Reformat my iMac?

    I have an iMac 27 "Intel Core i5 w/8 GB of RAM in December 2012, now under OSX Mavericks. I have not updated my system b/c I am afraid that my CS6 Adobe and other applications are not compatible, I still need. I was migrating my files and application

  • Why my computer won't let me go to google?

    When I try to go to Google, I found 404not. I used to go to Google. Now, I can't.