Dependend drop-down in PDF form

I thought this would be easy, but the tutorial I'm following is way more complicated than what I'm building, so I'm getting lost.
I'm making a form that has two dropdown lists, and the items in the second one need to depend on what was selected in the first one.
My first dropdown has three selections, and I've written a list of dependent selections formatted like this:
var TopicLink = {
    Planning:[
        ["-","None"],
                ["Border planning"],["border_planning"],
                ["Census issues"],["census_issues"],
                ["Citizens Guide"],["citizens_guide"],
                ["Congestion Management Process"],["congestion_management_process"],
                ["Csstp"],["csstp"],
                ["Delta Region"],["delta_region"],
                ["Economic Development"],["economic_development"],
For each of the three items.
I've pasted this into Other Tasks, Javascripts, Document Javascripts (Acrobat X), but when I right click on my second drop-down and pick the Actions Tab (On Focus, Run a Javascript), my JS doesn't appear on the list.
This is my first time touching a PDF form other than to fill one out.  What am I doing wrong?

Thanks George,
While working on this, I stumbled across a copy of LiveCycle ES2 that I didn't know I had installed in this machine.  For some reason I was able to figure things out much more easily in this program, so I managed to get it working without much issue.
Thanks for the reply!

Similar Messages

  • Drop Downs in adobe forms using Web dynpro ABAP

    Hi all,
    Im new to this adobe forms using webdynpro abap.
    In my requirement i have two drop downs on the form.
    by selecting value in one drop down i have to fill corresponding values in the other drop down.
    Using only WDA i know how to do this but with adobe i dnt know how and where i have
    to catch the drop down value and write my code. please let me know how i can achieve this.
    one more thing whatever action or events we are performing on the form where we have to place our code for this?
    Thanks,
    santosh

    hope this helps -
    [Thread: Populating one Drop-Down list from the selection of another Drop-down list |Populating one Drop-Down list from the selection of another Drop-down list;

  • Is it possible to create a drop down menu using form fields rather than text?

    Is it possible to create a drop down menu using form fields rather than text?

    Yes, correct - values of form fields. If one is blank, then the field would be blank - yes? If two or more have the same value that is fine.
    A standard dropdown ... As shown here. If there is an easier way to do this, I'd love to hear your suggestions. Thank you!

  • Reg: The Drop down in Adobe form

    Hi All,
           I am using a Adobe form [PDF] with 2 Drop Down's say DD1 [values:1,2,3] and DD2 [values a,b,c],
    Requirment is:
    When i select a value say "1" in DD1, DD2 should be "readOnly" and value should  be "a" only.
    When any value other then "1" is selected in DD1, DD2 should remain as Selectable to the user.
    Solution i tried: Using script i made DD2 as "readOnly" when DD1 is "1", which makes DD2 as i/p field - not editable, but the problem is if user selects the another value after selecting "1" in DD1, DD2 remains a i/p field and no values is shown to the user, even though i made it as "readWrite".
    Please help me.
    Thanks & regards
    Nagaraju

    Hi,
    Have a workaround to hide and display the fields like You should have two UI's for DD1 one is input field disabled with value "a" and the other is DropDown enabled, now what you do is when you select "1" in DD1 make the visibility of Input field true and when you select the other values in DD1 hide the Input field and make visible the Dropdown.
    Regards
    Raghu

  • Filling Drop down in Adobe forms

    Hi experts,
      I am developing a new Adobe form.In that I am using a table,the table consist of three drop downs in each row.
    My requirements are
    1. I want to fill the three drop downs.Guide me in that..
    2. How to capture the value selected in first dropdown...
    2. Based on the value selected in first dropdown I want to set the remaining two dropdowns.
    I am using AdobeDesigner 7.1.
    Please help me to achive this ....
    Thanks&Regards,
    Mathi.

    Hi Mathi,
    Answers to your questions:
    1. To fill the drop down select the drop down you want to fill and go to the Object palette, choose field tab and there would be an option list item press the icon button and the value you want. Similarly use button to remove the values.
    2. To use the values outside the form bind the drop down to a attribute from the data source.
    3. To use inside to set values of the remaining drop downs use the following code at the exit event of the first drop down.
    if (a.rawValue == 'a' )
         b.rawValue = 'f';
         c.rawValue = 'h';
    here i have supposed that a, b, c are three dropdowns.
    a has values : a,b,c.
    and b has values : d,e,f.
    and c has values : g,h,i.
    To write this code in the exit event of the first drop down(a) select it and in the script editor choose exit event.
    To show script editor go to windows in the menu and choose script editor.
    I hope it will be helpful.
    Regards,
    Vaibhav Tiwari.

  • Designing Searchable drop downs in LC form designing

    Hi,
    I want to design an eform which has a searchable drop down box. That
    is as someone types in the required contents into the dropdown the
    displayed contents of the drop down should shrink.It should have the
    search feature  in google search(as we type in the result set keeps showing and we can choose from there). If someone knows how to
    incorporate this searchable feature into the drop downs while
    designing the form, please help. An example to show the way in which
    it can be implemented would be really helpful.
    Thanks,
    Sayoni.

    Hi Sayoni,
    This is just part of the xml file I uploaded but should give you enough to get the sample working.
    Hope it helps
    Bruce
    <?xml version="1.0" encoding="UTF-8" ?>
    <countries>
    <country id="AF" name="AFGHANISTAN" />
    <country id="AX" name="ÅLAND ISLANDS" />
    <country id="AL" name="ALBANIA" />
    <country id="DZ" name="ALGERIA" />
    <country id="AS" name="AMERICAN SAMOA" />
    <country id="AD" name="ANDORRA" />
    <country id="AO" name="ANGOLA" />
    <country id="AI" name="ANGUILLA" />
    <country id="AQ" name="ANTARCTICA" />
    <country id="AG" name="ANTIGUA AND BARBUDA" />
    <country id="AR" name="ARGENTINA" />
    <country id="AM" name="ARMENIA" />
    <country id="AW" name="ARUBA" />
    <country id="AU" name="AUSTRALIA" />
    <country id="AT" name="AUSTRIA" />
    <country id="AZ" name="AZERBAIJAN" />
    <country id="BS" name="BAHAMAS" />
    <country id="BH" name="BAHRAIN" />
    <country id="BD" name="BANGLADESH" />
    <country id="BB" name="BARBADOS" />
    <country id="BY" name="BELARUS" />
    <country id="BE" name="BELGIUM" />
    <country id="BZ" name="BELIZE" />
    <country id="BJ" name="BENIN" />
    <country id="BM" name="BERMUDA" />
    <country id="BT" name="BHUTAN" />
    <country id="BO" name="BOLIVIA, PLURINATIONAL STATE OF" />
    <country id="BA" name="BOSNIA AND HERZEGOVINA" />
    <country id="BW" name="BOTSWANA" />
    <country id="BV" name="BOUVET ISLAND" />
    <country id="BR" name="BRAZIL" />
    <country id="IO" name="BRITISH INDIAN OCEAN TERRITORY" />
    <country id="BN" name="BRUNEI DARUSSALAM" />
    <country id="BG" name="BULGARIA" />
    <country id="BF" name="BURKINA FASO" />
    <country id="BI" name="BURUNDI" />
    <country id="KH" name="CAMBODIA" />
    <country id="CM" name="CAMEROON" />
    <country id="CA" name="CANADA" />
    <country id="CV" name="CAPE VERDE" />
    <country id="KY" name="CAYMAN ISLANDS" />
    <country id="CF" name="CENTRAL AFRICAN REPUBLIC" />
    <country id="TD" name="CHAD" />
    <country id="CL" name="CHILE" />
    <country id="CN" name="CHINA" />
    <country id="CX" name="CHRISTMAS ISLAND" />
    <country id="CC" name="COCOS (KEELING) ISLANDS" />
    <country id="CO" name="COLOMBIA" />
    <country id="KM" name="COMOROS" />
    <country id="CG" name="CONGO" />
    <country id="CD" name="CONGO, THE DEMOCRATIC REPUBLIC OF THE" />
    <country id="CK" name="COOK ISLANDS" />
    <country id="CR" name="COSTA RICA" />
    <country id="CI" name="CÔTE D'IVOIRE" />
    <country id="HR" name="CROATIA" />
    <country id="CU" name="CUBA" />
    <country id="CY" name="CYPRUS" />
    <country id="CZ" name="CZECH REPUBLIC" />
    <country id="DK" name="DENMARK" />
    <country id="DJ" name="DJIBOUTI" />
    <country id="DM" name="DOMINICA" />
    <country id="DO" name="DOMINICAN REPUBLIC" />
    </countries>

  • Muse drop down option in form widget

    Hi, I'm looking for help in the form widget. I've created a form and I need to provide a drop down option for one of the fields. Is there a way I can do it in Muse? Can anyone help me??

    Hi
    With Native Muse form widget we cannot include drop downs but if using Business Catalyst you can insert the form with drop downs and then use in Muse.
    Please refer to this post :
    http://forums.adobe.com/message/6100050#6100050
    Thanks,
    Sanjit

  • Extracting values from drop down buttons html forms

    Hello,
    I would like to know how to obtain the values which is selected through the drop down box. Iam using Java Script as a client side scripting lang..
    Here is my code so far..do let me know what to do further. Iam not getting the alert mesg which is sitting in the put() so let me know how the put method should work
    Thanks a lot
    avis
    <HTML>
    <HEAD>
    <script language="javascript" type="text/javascript">
    <!-- hide
    function put()
    choice = document.forms.Pri.list.optionsdocument.forms.Pri.list.selectedIndex]
    if (choice ="0")
    alert("enter state"+choice);
    function goto()
    Pri.list.options.value=" "
    //end -->
    </script>
    </HEAD>
    <BODY>
    <form name="Pri" method = "get" action="">
    State<SELECT NAME="list" onChange="put()">
              <OPTION>
    <OPTION>Alabama
    <OPTION>California
              </SELECT>
    <input type="submit" Value="Submit">
    <input type=button name="Reset" value=Reset onClick=goto()>
    </form>
    </BODY>
    </HTML>

    I'm not sure what you're talking about... if you don't select an option from the list, the onchange function isn't going to be called, so of course the the alert isn't working.
    You sound like you are complaining that when the form submits, the value for the select list is the first option (""). I fail to see why this is a problem. If the value is "", then you handle it like nothing was selected. In a single select list like that, an option is always selected. The whole point of having a blank option is to allow the user to pick it. Otherwise don't put a blank option.
    In general, you don't need to use a button to do reset, you use a reset button: input type="reset". And it'll reset on it's own.

  • Populating a Drop down menu JSP form

    How to go about populating a drop-down form from Oracle Database using JSP?
    I have the connecting to the Oracle Database running. I also can query forms, but i can't create a drop-down menu form.

    Start the dropdown box with the regular select tags "<select name=this>"
    Then open a JSP block and get a resutlset, loop through the resultset and and put the values from the resutlset into the <option> tags for the HTML.
    Example
    out.println("<option value=\"" + rs.getString(1) + "\">" + rs.getString(1) + ">");
    Then close the loop and that should populate a dropdown within the html form.

  • Security issue with page drop down on planning form 11.1.1.3

    I'll buy a round of Newcastles for anyone that can fix this issue.
    Planning 11.1.1.3 a given user is given @idescendants write access to a cost center rollup that has shared members underneath. The stored members are in a primary rollup higher up in the hierarchy. The webform has the cost center selection on the page drop down. The first child in the rollup does not display. This occurs for every rollup, the first child member is not visible i nthe drop down. So for example, the outline looks like this:
    primary cost center hierarchy (stored)
    rollup1
    --ccxxx stored
    --ccyyy stored
    alternate hierarchy (shared members)
    rollup2 <--------------user has write access to @Idescendants of this rollup
    --ccxxx shared
    --ccyyy shared
    In the page drop down, only the ccyyy member shows. Not the ccxxx. Dev has the same access applied and both show correctly. I've tried refreshing security, pushing filters from plan to essbase (even though this is metadata security in planning) and nothing fixes. Webforms are identical. My next step is to restart the planning service when i get down time but was wondering if anyone else has seen this issue.Always the first child of the shared rollup that doesnt display.
    Edited by: EssbaseInAz on Nov 4, 2009 3:11 PM

    Exports are identical. In fact, prod security was cleared and reloaded using an export from dev. after the upload i re-exported prod and compared the export to what was loaded (export from dev). Security is identical. This only for users with security set on the alternate hierarchy rollups up. Admin members are fine. One test i did do was to give access to the first child that is not displaying up on the stored member. If i do that, the member will show. But that's not really feasible in this security setup and it does not explain why the exact same security works fine in dev.
    I thought about about the second issue you raise. it does seem to behave like that. but the part is tagged never share, not label. Same as in dev, which works. plus like you said, that situation only seems to arise when the members are on the row and even then, the member displays, it's just set to read only. I'm wondering if there's some flag set in the relational backend that's causing an issue or something like that. I've pushd the filters to essbase and using a test id setup i can replicate this issue, but with an excel retrieve i can obviously see the member (since metadata security isnt applied in excel) and i can also see the data for the missing cost center. So, its somewhere in planning where the metadata security is applied. I might poke around the planning tables and compare to dev to see if i can find any smoking guns. Really bizarre. Plus tomorrow i've got a window to restart the planning service to see if that helps.
    Thx for the response Jake and if you have any other suggestions i'm open. If i find a solution i'll let you know.
    Pete

  • Does anyone know how to get one drop down populate multiple drop downs in adobe form not live cycle!

    I have one drop down that when value selected another drop down is filled with list of choices, and then one of those choices is made another drop down should be populated with some choices.
    ish

    Hi zach317,
    Thank you for visiting the HP Support Forums.  As stated in the thread you have cited, the purpose of this forum is to give feedback or make suggestions on ways to improve the forums.  Should you have feedback on other issues, please contact HP directly using this link.  This is a user-to-user forum, so you'll have to use this link for direct assistance from HP.
    Many members of the community are extremely knowledgable. If you're having an issue you believe the other users in the community may be able to assist you with, please feel free to find the appropriate forum and post your question there. 
    Should you have any further questions or concerns, you can send a Private Message to me or another moderator or admin at any time.
    Thank you!
    Message Edited by SandyD on 11-22-2008 03:03 AM
    Clicking the "Kudos star" to the left is a great way to say thanks!
    When your problem has been solved, accept the solution by clicking the "Accept as Solution" button to help other members in the future!
    Rules of Participation

  • Looping through collection of symbols and populating a drop down on a form EXTENDSCRIPT

    Hello everyone-
    I got a question.  Would it be possible to run a script that would loop through a collection of symbols in a defined library and populate a drop down with the available symbols. My goal is to be able to open Illustrator, and when I run the script the dropdown is populated with all available symbols(text is fine) in a defined library that I can then select and place on the artboard. Any help would be appreciated.
    thanks in advance!

    So...
    Dim appref As New Illustrator.Application
    Dim docRef As Illustrator.Document                                                                         'The work document
    Dim docToAdd As Illustrator.Document                                                                   'The document which contain the symbol's library 
    Dim pathArt As Object
    Dim ItemSymbol As Object
    Dim itemSymbolref As Illustrator.Symbol
    Dim artObject As Variant
    appref.Open ("C:\..... workDoc.ai")
    Set docRef = appref.ActiveDocument                                                                         'Assign docRef to your work document
    appref.Open ("C:\......symbolDoc.ai")
    Set docToAdd = appref.ActiveDocument                                                                    'Assign docToAdd to your symbol document
    Set symbolref = appref.ActiveDocument.Symbols(Symbol_Name)                               'Assign symbol ref the symbol you're looking for
    Set itemref = appref.ActiveDocument.SymbolItems.Add(symbolref)                              'Copy it on the current active page
    itemref.Selected = True                                                                                              'select it
    docToAdd.Copy                                                                                                         'add it to your clibboard
    docToAdd.close (aiDoNotSaveChanges)                                                                     'Close the library, without changing anything
    appref.ActiveDocument.Paste                                                                                     'Paste the clipboard on your work document
                             'As soon as you paste the symbol, it will be added in the document symbol library
    Clipboard_Clear                                                                                                         'See below why...
    SelectedObjects =appref.ActiveDocuments.selection                                                   ' Select the symbol you past
                             ' The loop is not necessary if you have only one thing selected
    For Each artObject In selectedObjects
        artObject.Delete
    Next
                             ' Cleanup your pointers
    Set artObject = Nothing
    Set pathArt = Nothing
    Set docToAdd = Nothing
    [....] Continue your script on your working document
    Set docRef = Nothing               'after closing your working doc...
    Remark on clipboard_clear : If you don't do it, the risk is to accumulate plenty other things you don't want...
    Public Function ClipBoard_Clear()
      Call OpenClipboard(0&)
      Call EmptyClipboard
      Call CloseClipboard
    End Function
    With
    Public Declare PtrSafe Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As Long
    Public Declare PtrSafe Function CloseClipboard Lib "user32" () As Long
    Public Declare PtrSafe Function EmptyClipboard Lib "user32" () As Long
    be careful I use the PtrSafe pointer due to the fact I'm working in x64 architecture
    in x86 it will be
    Public Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As Long
    Public Declare Function CloseClipboard Lib "user32" () As Long
    Public Declare Function EmptyClipboard Lib "user32" () As Long
    Regards to all
    Michel

  • My form autocomplete shows blank drop down menus with 'Form History' still stated beside the blanks when I type in entries I previously entered.

    It is remembering what I entered, but the options are blank. Please help, this is really annoying. I also lose form history (when it was working properly) after I leave Firefox idle for more than 5 minutes. It's been like that for a long time, but my form history (autocomplete) used to stay intact if I left the computer for a bit. I know exactly how to use my privacy options, they are set the way I always had them set when form autocomplete used to work properly for me.

    Yep, this is def a problem with the google toolbar. I did find that if you turn off the google autofill, you can keep the toolbar enabled and the problem goes away. The browser then uses Firefox's autofill instead. Thanks for leading me down the right track. I didn't want to lose Google toolbar, but not having form history has been a pain, since i use it for shipping packages and not having it makes it time consuming.

  • Filling drop down in Interactive forms by ABAP

    Hi experts,
      I am new to Adobe forms.I am working on a form using SFP transaction, which consist of a table.In that table I have a dropdown
    as a column.I want to fill the dropdown with values from a DB table.
    I am working on pure ABAP.
    Can any one help me to achive this,with step by step procedures...
    Thanks&Regards,
    Hans.

    Hello Hans,
    You might want to use "dynamic properties". With that you can populate the dropw-down list from the data contained in the form.
    In Designer under Extras->Options you can find an entry for Binding. Check "show dynamic properties".
    If you now go back to your DDL field on the form and look at the Object - Field tab you can see that "list elements" is a link. Click on this link and a dialog for specifying a data binding for the DDL items shows up. How to do it is straight forward: Just select the node where the data can be found and specify which nodes contain the key value and the display text.
    It is very helpful if the content of the DDL is in a table like structure
    Regards,
    Juergen

  • How to insert date picker from drop down calendar in forms

    I want to insert a calendar to select the date from in the 'Date of Training' column in my forms instead of manually typing in the date each time - how do I do this please?

    There's no built-in calendar component in Acrobat forms. There are some third-party ones, though. The main ones are a free one that uses fields by FormRouter and a paid tool which uses a dialog object, developed by Max Wyss.

Maybe you are looking for

  • When adding columns, why do I get overrides on style?

    Hi all, When I'm adding columns in a certain document I end up with the new columns having overrides on them. How can I avoid this? The columns I added are seen in the middle. As you can see the they all get a "shift down" by -22 pt. I use this shift

  • Bug in oracle portal: problem in pl/sql item type

    I created a pl/sql item type... based on a stored proc... whenever I make a change to the store proc I have to readd the item based on this item type since the result on the item type is not updated is this some bug in oracle portal

  • How can i add more terminals to a SubVi without compiling it again?

    I usually create Subvi's in my programs but sometimes i need add more inputs to my subvis but i need to make a new subvi to make that imput available in the subvi icon, is there other way to do this?

  • Connecting ipod touch to belkin 54g

    Hi there, I've got this belkin 54g router, and it will not connect to my touch. It connects to my wii, ps3 and other pc's fine. I'm using a WEP key, with mac filtering disabled etc and it still wont work. I lost my network completely today by fiddlin

  • How to get standard settings for instant messaging...

    I'm using nokia 3120 classic. It have IMs but i can't chat Yahoo. Please guide me for details to getting standard settings internet. Thanks so much!