Maximum number of choices in a dropdown field

Is there a maximum number of choices that can be placed in a dropdown field?

Genevieve,
Many thanks for your quick response. The direct answer is a bit over 400 choices. I know, I know. I’d appreciate any better suggestions.
I’m creating a form to be completed by college instructors in which they indicate their contact info, a course name and number, and information re textbook for that course. I need to pass it along as an Excel sheet with each ROW representing a RECORD for one book. See attached.
My original plan was to have the form first present a choice of subject (e.g., ENG, HIST, POLSCI) and then use a logic rule to pull up the relative small subset of courses under that subject. That went south in a hurry when I imagined what the spreadsheet was going to look like since there has to be a column for each subject area from the first question. If you’d like to look at the much smaller dropdown box in the form I’ve just completed for the summer term, it’s at https://adobeformscentral.com/?f=FocAopnkrTWy8CZaWccckw. I could have four dropdown boxes subsetted according to the division choices in the previous question on the form, but I still end up with a spreadsheet that’s a mess.
I’ve considered having the instructor key in the course number and title, but college faculty are even less reliable than their students.
If you’re more interested than you should be you’ll note that the choices in the dropdown box contain course number, title, and number of students in one field. The target Excel sheet has them in separate fields. I’ll handle that by using text to columns in Excel.
I’d appreciate any wisdom you might share. Since the only way to build the drop down is by copying and pasting each choice, you can see why it occurred to me to ask if there’s a max before doing 401 and then it won’t take the last 10!!
Again, many thanks,
Jim   8*)

Similar Messages

  • Using a multiple word choice in a dropdown field to fire a java script

    I'm a complete beginner to java script, and relatively new to form building in Acrobat.
    I'm using a dropdown field to auto-fill other fields based on my 1st dropdown selection.
    The 1st dropdown field allows me to select a variety of vendors.  Once I select the vendor, it auto-fills the contact info for that vendor.
    I plagiarized the scripting from this link: https://acrobatusers.com/tutorials/change_another_field.  I even changed my field names for the time being.  I'll change my form field names back and the script to match once I have it working the way I want.
    If I use a single name in my vendor dropdown (1st field), the script works perfectly and auto-fills the contact information as expected.  However, many of my vendors are two or more words...and I need these full names to print out, so I cant just make a one word contraction.  Here's the script as I'm using it:
    Here's an example of a single word vendor name that works as expected:
    // Place all prepopulation data into a single data structure
    var DeptData = { ADLEMI:{ contact: "P.O. BOX 2371",
                                  email: "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 single vendor name I used in the example above is 'ADLEMI.'  If I add 'BEST' to ADLEMI (see below) I receive a syntax error.  I really need to be able to use multiple words in my Vendor dropdown to trigger the auto-fill.
    // Place all prepopulation data into a single data structure
    var DeptData = { ADLEMI BEST:{ contact: "P.O. BOX 2371",
                                  email: "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 I added a space and the word 'BEST' after ADLEMI.  Is there a way around this.  I need to have multiple words in my dropdown, or at least the full name of the vendor showing in the field when I print it out.
    Thanks

    Place double-quotes around the item name.
    On Mon, Apr 13, 2015 at 5:29 PM, bpwhistler <[email protected]>

  • Link dropdown choice to multiple text fields from access database

    Is there anyway to link the choice of a dropdown field so it populates other text fields?
    Example:
    I have created a Data Connection from a MS Access Database for a drop down list which is CompanyName.  When I choose the company name I would like it to populate First Name, Last Name, Email, Adress, etc.  Does this require a significant amount of code to do...and if so does anyone have a good book suggestion to learn the code for something like this?
    Any help in solving this problem is greatly appreciate.  I have searched everywhere and found no conclusive answer.  Or maybe I am just searching in the wrong place?  Thanks for your help.

    You will have to make another data connection and create a SQL call to the DB that will incorporate the selection made in the DDList. This will involve code. There is a sample wriiten by Stefan Cameron at this location:
    http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/
    Paul

  • Acrobat X Pro interactive Map/Dropdown fields

    I create a variety of .pdfs for different purposes which are all related to the same parent (in this case a building on a site).
    I now want to create an interactive map so that I can click the building (button, graphic shape or image etc) and be presented a collapsable list so that I can then select (from a list) the .pdf I am interested in (discipline specific) and open it in a new acrobat window. Each .pdf name in the dropdown list is to represent a separate .pdf file from the same or different network storage location (I am aware the file name(s)/location(s) must not change).
    I have investigated Acrobat X Pro, Adobe Illustrator CS4 and Adobe InDesign CS4. I have decided to target Acrobat as Illustrator did not seem to allow linking and InDesign did not seem to allow List Boxes or Dropdowns for linking purposes. Also, I only wanted to create/manage one file (my interactive map)...my 'menu'...in graphical form...without going down the path of creating a web site.
    Am I on the right track? Is this possible?
    However, after adding the Dropdown field to my form (interactive pdf map), although it allowed any of the available list items to be selected, it DID NOT allow different actions for different list items!
    I added two separate Open file actions (which could not be linked to the two separate list items)...one to open a pdf ffrom one location and the other to open a separate pdf from another location. When you click the field (button)...it just opens BOTH pdf files! Not what I wanted.
    I would have thought that the very nature of a Dropdown list is to be able to select from a collapsable list and perform a specific action on that selection (after all, it does allow multiple similar actions, along with multiple different actions).
    Can THIS be done?...in Acrobat?...in another Creative Suite application?

    Thanks, but...I could not find a `combo box' field, and I have to ask why would I have to write custom code when the `dropdown' field is provided?
    Why can't a different action be linked to a different list choice in a dropdown field?
    If I want to perform a single action, then I would use a `single' button, but that's not what I want to do.

  • Limit the number of digits in a numeric field

    Hi
    I have been searching for the last hour to find out ho i can limit the numeric field on my livecycle form. I have seen lots of java script however nothing seems to work, all i want is for the user only to enter 6 digits (e.g. 123456) and if they try to enter more a message would say that only a 6 digit number can be entered.
    This is driving me mad for something i though would be quite simple.
    Can anybody help?

    I am not 100% on the Javascripting; however in the Object window, Field Section there is an option to put the maximum number of characters in a numeric field. It says "comb of" and then it gives you an option of the maximum number of characters that can be allowed in the field. If you put 6 it will only allow 6 characters. However if that is not something you want you can go to the Value Section within the Object Window and click on the Validation Pattern button. In the Validation tab, in the pattern section type in "999999" and hit apply. It should replace it with "num{999999}" which is 6 numeric values. For a custom error message, in the same Value section, add a custom Validation Pattern Message (make sure to check the error box") and then save your file. If someone tries to put more than 6 values in it should pop up with your custom message. I do find it is easier for the user to understand if you use the comb function instead of the validation pattern. It is a lot more clear to the user on what you need. Just my personal opinion though.

  • Maximum number of lines textfield

    Hi everybody !
    I need to set a maximum number of lines on a text field that should be expandable up to that line number and not beyond.
    Who do I know how to do?

    You can control the number of chars in the field, you can limit the field to the visible area but you cannot dictate a number of lines that the field can be. The closest thing you can get is to make  the field the max number fo lines and then use "limit to visible area" so that people cannot add more text.
    Paul

  • What is the maximum number of fields in oracle 9 ?

    Hello,
    My question might be very simple, but i tried to find the answer on the website of oracle and on this forum but with no success.
    How many fields can i put in a single oracle file ? Can i compare the fields to a column in a spreadsheet ? If so, i want to know the maximum number of columns possible in an oracle database (if i take the exemple of microsoft access, i have a limitation of 255).
    I thank you in advance for your answers.
    Fred

    One should really make the difference between db_name and instance_name: if instance_name default value is db_name it can be different
    (even on a non RAC database).
    For example with Oracle 10.2.0.4 you can create a database named DB78 with instance_name=DB12345678:
    $ uname -a
    Linux lx01.localdomain 2.6.18-92.el5 #1 SMP Fri May 23 22:17:30 EDT 2008 i686 i686 i386 GNU/Linux
    $ ps -fu oracle | grep smon
    oracle    6353     1  0 20:30 ?        00:00:01 ora_smon_DB12345678
    oracle    6412  5596  0 20:37 pts/1    00:00:00 grep smon
    $ export ORACLE_SID=DB12345678
    $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 8 20:34:26 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show parameter name
    NAME                                 TYPE        VALUE
    db_file_name_convert                 string
    db_name                              string      DB78
    db_unique_name                       string      DB78
    global_names                         boolean     FALSE
    instance_name                        string      DB12345678
    lock_name_space                      string
    log_file_name_convert                string
    service_names                        string      DB78I would not recommend this practice: but it's interesting to know to avoid confusing between db_name and instance_name.

  • FML Field Table - maximum number of fields?

    Hello,
    in our Tuxedo-environment we are using the "FML Field Table" (text file) to define fields and FLDIDs to access and manipulate fields in a fielded buffer.
    My questions are:
    o is there a maximum number of fields one can define in the field table?
    o is it ok that this file grows very big if every application-relevant field is to be put into this table? (in our company we have services up to 80 fields...)
    o is it better practice to define universal FML fields (such as CHAR_01, CHAR_02, NUMBER_01...) to avoid that every service-field has its own field-defínition?
    Thank you for your help!

    Hi,
    1. FML/FML32 really have a maximum number.
    # For FML: between 1 and 8191, inclusive
    # For FML32: between 1 and 33,554,431, inclusive
    But you should pay attention that some fields are reserved by Tuxedo, you can get the reference at http://edocs.bea.com/tuxedo/tux100/fml/fml04.html
    2. It depends on how you use FML routines. Some routines, such as Fldid which map the name to the numeric identifier, sure it needs a little cpu cycle for the searching if you defined hundreds thousands of fields. But for most APIs, such as add/change/update/delete, the API only requires the numeric C macro definition, so there is no performance issue. A number of 80 fields is adequate absolutely. You should not worry about that in a very long future.
    3. From my personal point of view, I think it is a good habit to define the fields universally in Tuxedo applications. You will feel more administration benefit if you want to extend Tuxedo to Java by JOLT, to web services by SALT etc.
    Regards,
    Wayne

  • Maximum Number of Fields Reached

    I read on one of the forums that there is no hard number to maximum number of fields. However, I received this message: "You have reached the limit on the number of items allowed in a FormsCentral form. You may delete or modify existing items."
    Why is this?
    I have subscribed to Basic pack.
    Thanks.

    Thanks Josh,
    Splitting forms does not help my cause. It is a governement form which requires a lot of information in it. If the information can not be filled in one form, I am affraid that this product is not suitable for our organisation. Is there a way that I can seek a refund?
    Thanks.

  • Can't setup iCloud V 4.  I get error:  You have exceeded the maximum number of 25000 allowed events and tasks.  I get this error no matter what choice I select to setup.

    Can't setup iCloud V 4.  I get error:  You have exceeded the maximum number of 25000 allowed events and tasks.  I get this error no matter what choice I select to setup.

    Is your I tunes ID an @me.com ID?  If not, i cloud ONLY works with an @me.com ID. You will have two ID's. One for I cloud, one for I tunes

  • Maximum number of field in table?

    hi...
    What is the limit of maximum number of fields in oracle 9i table?
    Regards,
    S.Ashokkumar

    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_73a.htm#2095335
    "The absolute maximum number of columns in a table is 1000"
    Rgds.

  • MAximum number of authorization fields in an authority object

    What is the maximum number of authorization object in an authority object ?

    An authorization object comprises up to 10 authorization fields.
    Read [AUTHORITY-CHECK|http://help.sap.com/abapdocu_70/en/ABAPAUTHORITY-CHECK.htm], look also at [SU21|http://help.sap.com/abapdocu_70/en/ABENBC_AUTHORITY_CHECK.htm] transaction screen.
    Regards,
    Raymond

  • Maximum number of field values for an Authorization object

    Hello Experts,
    What is the maximum number of field values can be put into the role, Is there any restriction for number of values in any authorization field?
    I have put 326 values for field OBJTYPE in authorization object S_DEVELOP but not able to generate the role it is showing error.
    I know I can split the values in two or more instance but wanted to know if there any other way out for this (without creating more instances)
    Thanks
    DK

    If the values for OBJTYPE are not uniquely the same, then the system will not merge them - so nothing will be lost.
    Here is another trick for you: Choose one of the transactions in the role (or create a "symbolic" one for it") where you want to have the OBJTYPE proposed automatically from. Now maintain one or two of them in SU24 and then download it to your PC. Now from the F4 value range of the OBJTYPE, add all of those values you want via copy&paste into the file and then upload into SU24 again. A read old / merge new in PFCG will then swing all the values in for you.
    Single values are always better, as you do not know what else is hidden in the range or might be added in future. It is however common to see FROM / TO ranging around values such as DEBUG and FUGR although all aspects of S_DEVELOP are dangerous - even in display mode.
    Cheers,
    Julius

  • Maximum number of fields on form?

    What is the maximum number of fields that can put be put on a FormsCentral form that can that responses can be collected for?

    Josh_Corey wrote:
    Hi abhvor;
    We used to recommend keeping forms under 200 fields but did not enforce a limit, we now do have a limit at 500 fields.
    Thanks,
    Josh
    Hey Josh_Corey,
    Is there any way to have more that 500?? Like by disabling something or asking a certain person at Adobe??
    Thanks,
    Gary

  • Autopopulate Dynamic Dropdown Field LC Designer

    I am trying to autopopulate dynamically created dropdown fields within another section of a form.
    Here is what I am trying to do:
    I have a report (home inspection) that is also an estimate for repairs.  I have several section of the report that have a button to add additional items (e.g. Kitchen, Living Room, ect).  The button dynamically adds new items for each area (e.g. Kitchen, Living Room, ect). Code is below, what I want to do is have all of the dynamically created items appear in the estimate section of the report but am not able to figure out the best way to do this.  Basically, all of the items that appear in the report also need to be in the estimate and I need to figure out a way to have the items duplicated from the report to the estimate.  Any help would be greatly appreciated.  Thank you
    <subform name="GoExterior" w="203.2mm" layout="tb">
    <draw name="GoExteriorTextHead" w="64.834mm" h="7.62mm">
    <ui>
    <textEdit/>
    </ui>
    <value>
    <text>General Observations - Exterior</text>
    </value>
    <font size="14pt" typeface="Myriad Pro" baselineShift="0pt"/>
    <margin topInset="0.5mm" bottomInset="0.5mm" leftInset="0.5mm" rightInset="0.5mm"/>
    <para spaceAbove="0pt" spaceBelow="0pt" textIndent="0pt" marginLeft="0pt" marginRight="0pt"/>
    </draw>
    <subform w="203.2mm" name="ItemsSubFormCrawlSpace" layout="tb">
    <draw name="Text3" w="29.2864mm" h="5.2331mm">
    <ui>
    <textEdit/>
    </ui>
    <value>
    <text>Crawl Space</text>
    </value>
    <font size="12pt" typeface="Myriad Pro" baselineShift="0pt" weight="bold" posture="italic" underline="1"/>
    <margin topInset="0.5mm" bottomInset="0.5mm" leftInset="0.5mm" rightInset="0.5mm"/>
    <para spaceAbove="0pt" spaceBelow="0pt" textIndent="0pt" marginLeft="0pt" marginRight="0pt"/>
    </draw>
    <subform name="DropdownGOCrawl" w="203.2mm" layout="tb">
    <occur max="-1"/>
    <subform w="203.2mm" name="DDCrawl">
    <keep intact="none"/>
    <field name="DropDownCrawl" w="171.45mm" h="9mm">
    <ui>
    <choiceList textEntry="1">
    <border presence="hidden"/>
    <margin/>
    </choiceList>
    </ui>
    <font typeface="Myriad Pro" weight="bold" size="11pt"/>
    <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
    <para vAlign="middle"/>
    <caption reserve="25mm">
    <para vAlign="middle"/>
    <value>
    <text>Item:</text>
    </value>
    </caption>
    <items save="1">
    <text>Debris was observed at crawl space.</text>
    <text>This structure lacks proper and adequate earthquake retrofitting hardware.</text>
    <text>Anchor bolts at exposed sill plate framing structure are loose and inadequate.</text>
    <text>Existing sewer line is not secured or strapped at crawl space.</text>
    <text>All insulations at crawl space must be faced and secured utilizing wires or staples.</text>
    <text>Sub-floors must have R-19 insulation properly installed.</text>
    <text>Crawl space areas must have minimum 18” overhead clearance.</text>
    <text>There was only one crawl space access panel to the rear addition.  We were unable to inspect the main original crawl space due to lack of access.  We highly recommend providing one access panel for the original structure.</text>
    </items>
    <bind match="none"/>
    </field>
    <subform w="28.575mm" name="DropdownAddGOexterior" relevant="-print" x="174.625mm">
    <field h="6mm" name="AddDropdownGOExterior" w="28.575mm" relevant="-print">
    <ui>
    <button highlight="inverted"/>
    </ui>
    <font typeface="Arial"/>
    <caption>
    <value>
    <text>Add Comment</text>
    </value>
    <para hAlign="center" vAlign="middle"/>
    </caption>
    <border hand="right">
    <edge stroke="raised"/>
    <fill>
    <color value="212,208,200"/>
    </fill>
    <corner/>
    </border>
    <bind match="none"/>
    <event name="event__click" activity="click">
    <script contentType="application/x-javascript">//+ GENERATED - DO NOT EDIT (ID:182C1B80-8D7F-46A2-B893-6A7B250C972E CRC:1996671831)
    //+ Type: Action
    //+ Result1: AddInstance("$Node2")
    //+ Node2: form1[0].Report[0].GoExterior[0].ItemsSubFormCrawlSpace[0].DropdownGOCrawl[0].CommentFiel d[0]
    //+ Node1: form1[0].Report[0].GoExterior[0].ItemsSubFormCrawlSpace[0].DropdownGOCrawl[0].DDCrawl[0]. DropdownAddGOexterior[0].AddDropdownGOExterior[0]
    //+ Condition1: Button("$Node1","click")
    //+ ActionName: AddDropdownGOExterior.click
    this.resolveNode('DropdownGOCrawl._CommentField').addInstance(1);
    if (xfa.host.version &lt; 8) {
    xfa.form.recalculate(1);
    /* This button will Add one instance of the repeating subform or table row.
       sSubformSOM: SOM expression of the repeating subform or table row.
       bCalc:  
    Flag - true if the new instance might be referenced by other calculations, otherwise false.
       message:
    The error message displayed.
       These variables must be assigned for this script to run correctly.
       Replace &lt;value&gt; with the correct value.
    var sSubformSOM = "&lt;value&gt;";
    // Example: var sSubformSOM = "xfa.form.form1.Subform1";
    var bCalc = true;
    // Example: var bCalc = false;
    var message = "You have reached the maximum number of items allowed.";
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 10.0.2.20120224.1.869952.867557 - Subform_Instance_Controls_Add.xfo
    // Build the SOM expression of the Instance Manager using the 'underscore' syntax.
    var oSubform = xfa.resolveNode(sSubformSOM);
    // Evaluate the SOM expression.
    var sParentSOM = oSubform.parent.somExpression; 
    // Get the parent SOM expression.
    var sManagerSOM = sParentSOM + "._" + oSubform.name; // Build the SOM expression of the Instance Manager.
    var oManager = xfa.resolveNode(sManagerSOM);
    // Evaluate the SOM expression.
     var nMaxCount = oManager.occur.max;
    // Get the maximum number of subform occurrences allowed.
    var nSubCount = oManager.count;
    // Get the current number of instances.
    // Proceed if the maximum number of subform occurrences has not been reached.
    if ((nMaxCount == "-1") || (nSubCount &lt; nMaxCount)) {
    // Invoke the Instance Manager.
    var oNewInstance = oManager.addInstance(1);
    // Fire the form calculations.
    if (bCalc == true) {
    // Execute all the form calculations.
    xfa.form.recalculate(1);
    } else {
    xfa.host.messageBox(message,"Add Item", 3);
    // END OF DO NOT MODIFY
    </script>
    </event>
    <assist>
    <toolTip>Add an item</toolTip>
    </assist>
    </field>
    <margin topInset="2.54mm" bottomInset="2.54mm"/>
    <?templateDesigner expand 0?></subform>
    <occur max="-1"/>
    <?templateDesigner expand 0?></subform>
    <subform w="203.2mm" name="CommentField" layout="tb">
    <field name="CommentFieldCrawl" minH="8.453mm" w="203.2mm">
    <ui>
    <textEdit multiLine="1">
    <border presence="hidden"/>
    <margin/>
    </textEdit>
    </ui>
    <font typeface="Myriad Pro" weight="bold" size="11pt"/>
    <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
    <para vAlign="middle"/>
    <caption reserve="25mm">
    <para vAlign="middle"/>
    <value>
    <text>Comment:</text>
    </value>
    </caption>
    <bind match="none"/>
    </field>
    <occur min="0" max="-1"/>
    <?templateDesigner expand 1?></subform>
    <?templateDesigner expand 1?></subform>
    <margin topInset="2.54mm"/>
    <?templateDesigner expand 0?></subform>
    <subform w="28.575mm" h="11.218mm" name="DropdownAddGOexterior" relevant="-print">
    <field h="6mm" name="AddDropdownGOExterior" w="28.575mm" y="0.138mm" relevant="-print">
    <ui>
    <button highlight="inverted"/>
    </ui>
    <font typeface="Arial"/>
    <caption>
    <value>
    <text>Add Item</text>
    </value>
    <para hAlign="center" vAlign="middle"/>
    </caption>
    <border hand="right">
    <edge stroke="raised"/>
    <fill>
    <color value="212,208,200"/>
    </fill>
    <corner/>
    </border>
    <bind match="none"/>
    <event name="event__click" activity="click">
    <script contentType="application/x-javascript">//+ GENERATED - DO NOT EDIT (ID:85B19E00-052E-47D6-A49E-4675131292BE CRC:2010014197)
    //+ Type: Action
    //+ Result1: AddInstance("$Node2")
    //+ Node2: form1[0].Report[0].GoExterior[0].ItemsSubFormCrawlSpace[0].DropdownGOCrawl[0]
    //+ Node1: form1[0].Report[0].GoExterior[0].DropdownAddGOexterior[0].AddDropdownGOExterior[0]
    //+ Condition1: Button("$Node1","click")
    //+ ActionName: AddDropdownGOExterior.click
    this.resolveNode('ItemsSubFormCrawlSpace._DropdownGOCrawl').addInstance(1);
    if (xfa.host.version &lt; 8) {
    xfa.form.recalculate(1);
    /* This button will Add one instance of the repeating subform or table row.
       sSubformSOM: SOM expression of the repeating subform or table row.
       bCalc:  
    Flag - true if the new instance might be referenced by other calculations, otherwise false.
       message:
    The error message displayed.
       These variables must be assigned for this script to run correctly.
       Replace &lt;value&gt; with the correct value.
    var sSubformSOM = "&lt;value&gt;";
    // Example: var sSubformSOM = "xfa.form.form1.Subform1";
    var bCalc = true;
    // Example: var bCalc = false;
    var message = "You have reached the maximum number of items allowed.";
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 10.0.2.20120224.1.869952.867557 - Subform_Instance_Controls_Add.xfo
    // Build the SOM expression of the Instance Manager using the 'underscore' syntax.
    var oSubform = xfa.resolveNode(sSubformSOM);
    // Evaluate the SOM expression.
    var sParentSOM = oSubform.parent.somExpression; 
    // Get the parent SOM expression.
    var sManagerSOM = sParentSOM + "._" + oSubform.name; // Build the SOM expression of the Instance Manager.
    var oManager = xfa.resolveNode(sManagerSOM);
    // Evaluate the SOM expression.
     var nMaxCount = oManager.occur.max;
    // Get the maximum number of subform occurrences allowed.
    var nSubCount = oManager.count;
    // Get the current number of instances.
    // Proceed if the maximum number of subform occurrences has not been reached.
    if ((nMaxCount == "-1") || (nSubCount &lt; nMaxCount)) {
    // Invoke the Instance Manager.
    var oNewInstance = oManager.addInstance(1);
    // Fire the form calculations.
    if (bCalc == true) {
    // Execute all the form calculations.
    xfa.form.recalculate(1);
    } else {
    xfa.host.messageBox(message,"Add Item", 3);
    // END OF DO NOT MODIFY
    </script>
    </event>
    <assist>
    <toolTip>Add an item</toolTip>
    </assist>
    </field>
    <margin topInset="2.54mm" bottomInset="2.54mm"/>
    <?templateDesigner expand 0?></subform>
    <subform w="203.2mm" name="ItemsSubFormDoorsWindows" layout="tb">
    <draw name="Text3" w="1.471014in" h="5.2331mm">
    <ui>
    <textEdit/>
    </ui>
    <value>
    <text>Doors and Windows</text>
    </value>
    <font size="12pt" typeface="Myriad Pro" baselineShift="0pt" weight="bold" posture="italic" underline="1"/>
    <margin topInset="0.5mm" bottomInset="0.5mm" leftInset="0.5mm" rightInset="0.5mm"/>
    <para spaceAbove="0pt" spaceBelow="0pt" textIndent="0pt" marginLeft="0pt" marginRight="0pt"/>
    </draw>
    <subform name="DropdownGODoors" w="203.2mm" layout="tb">
    <occur max="-1"/>
    <subform w="203.2mm" name="DDCommentBtnDoors">
    <keep intact="none"/>
    <occur max="-1"/>
    <field name="DropDownDroors" w="171.45mm" h="9mm" y="0mm">
    <ui>
    <choiceList textEntry="1">
    <border presence="hidden"/>
    <margin/>
    </choiceList>
    </ui>
    <font typeface="Myriad Pro" weight="bold" size="11pt"/>
    <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
    <para vAlign="middle"/>
    <caption reserve="25mm">
    <para vAlign="middle"/>
    <value>
    <text>Item:</text>
    </value>
    </caption>
    <items save="1">
    <text>Some windows are original single glazed windows which do not operate properly.  Some have been replaced by wooden windows which are not installed properly.</text>
    <text>Existing wooden patio doors are installed with the hinges exposed at exterior which will allow easy access to intruders.  It also does not allow any space for screen doors at exterior.  Special roll in screen doors should be ordered at interior or reverse the</text>
    <text>Out of plumb windows were observed around the dwelling.  Some windows are plumb on one side and out of plumb on the other side.  We believe it is caused by a combination of sloppy workmanship and structural movements.  Since we were unable to access the cra</text>
    <text>We did not perform a wet test at windows due to lack of permission.</text>
    <text>Window and door trims at siding connections are not installed properly.</text>
    <text>Most wooden windows sustain water damage and are inoperable.</text>
    <text>Broken windows were observed at this dwelling.</text>
    <text>Interior use doors were utilized at exterior.</text>
    <text>Rear door to the laundry area is installed with hinges exposed at exterior which will allow easy access to intruders. </text>
    <text>Missing screens were observed at existing windows.</text>
    </items>
    </field>
    <subform w="203.2mm" name="DropdownAddGOexterior" relevant="-print" y="0mm">
    <field h="6mm" name="AddDropdownGOExterior" w="28.575mm" relevant="-print" x="174.625mm" y="0mm">
    <ui>
    <button highlight="inverted"/>
    </ui>
    <font typeface="Arial"/>
    <caption>
    <value>
    <text>Add Comment</text>
    </value>
    <para hAlign="center" vAlign="middle"/>
    </caption>
    <border hand="right">
    <edge stroke="raised"/>
    <fill>
    <color value="212,208,200"/>
    </fill>
    <corner/>
    </border>
    <bind match="none"/>
    <event name="event__click" activity="click">
    <script contentType="application/x-javascript">//+ GENERATED - DO NOT EDIT (ID:DA5FCB9C-4F98-4657-9C14-49E032341848 CRC:3943787667)
    //+ Type: Action
    //+ Result1: AddInstance("$Node2")
    //+ Node2: form1[0].Report[0].GoExterior[0].ItemsSubFormDoorsWindows[0].DropdownGODoors[0].CommentFi eld[0]
    //+ Node1: form1[0].Report[0].GoExterior[0].ItemsSubFormDoorsWindows[0].DropdownGODoors[0].DDComment BtnDoors[0].DropdownAddGOexterior[0].AddDropdownGOExterior[0]
    //+ Condition1: Button("$Node1","click")
    //+ ActionName: AddDropdownGOExterior.click
    this.resolveNode('DropdownGODoors._CommentField').addInstance(1);
    if (xfa.host.version &lt; 8) {
    xfa.form.recalculate(1);
    /* This button will Add one instance of the repeating subform or table row.
       sSubformSOM: SOM expression of the repeating subform or table row.
       bCalc:  
    Flag - true if the new instance might be referenced by other calculations, otherwise false.
       message:
    The error message displayed.
       These variables must be assigned for this script to run correctly.
       Replace &lt;value&gt; with the correct value.
    var sSubformSOM = "&lt;value&gt;";
    // Example: var sSubformSOM = "xfa.form.form1.Subform1";
    var bCalc = true;
    // Example: var bCalc = false;
    var message = "You have reached the maximum number of items allowed.";
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 10.0.2.20120224.1.869952.867557 - Subform_Instance_Controls_Add.xfo
    // Build the SOM expression of the Instance Manager using the 'underscore' syntax.
    var oSubform = xfa.resolveNode(sSubformSOM);
    // Evaluate the SOM expression.
    var sParentSOM = oSubform.parent.somExpression; 
    // Get the parent SOM expression.
    var sManagerSOM = sParentSOM + "._" + oSubform.name; // Build the SOM expression of the Instance Manager.
    var oManager = xfa.resolveNode(sManagerSOM);
    // Evaluate the SOM expression.
     var nMaxCount = oManager.occur.max;
    // Get the maximum number of subform occurrences allowed.
    var nSubCount = oManager.count;
    // Get the current number of instances.
    // Proceed if the maximum number of subform occurrences has not been reached.
    if ((nMaxCount == "-1") || (nSubCount &lt; nMaxCount)) {
    // Invoke the Instance Manager.
    var oNewInstance = oManager.addInstance(1);
    // Fire the form calculations.
    if (bCalc == true) {
    // Execute all the form calculations.
    xfa.form.recalculate(1);
    } else {
    xfa.host.messageBox(message,"Add Item", 3);
    // END OF DO NOT MODIFY
    </script>
    </event>
    <assist>
    <toolTip>Add an item</toolTip>
    </assist>
    </field>
    <margin topInset="2.54mm" bottomInset="2.54mm"/>
    <?templateDesigner expand 0?></subform>
    <?templateDesigner expand 1?></subform>
    <subform w="203.2mm" name="CommentField" layout="tb">
    <field name="CommentField" minH="8.453mm" w="203.2mm">
    <ui>
    <textEdit multiLine="1">
    <border presence="hidden"/>
    <margin/>
    </textEdit>
    </ui>
    <font typeface="Myriad Pro" weight="bold" size="11pt"/>
    <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
    <para vAlign="middle"/>
    <caption reserve="25mm">
    <para vAlign="middle"/>
    <value>
    <text>Comment</text>
    </value>
    </caption>
    </field>
    <occur max="-1" min="0"/>
    <?templateDesigner expand 0?></subform>
    <?templateDesigner expand 1?></subform>
    <?templateDesigner expand 0?></subform>
    <subform w="28.575mm" h="11.218mm" name="DropdownAddGOexterior" relevant="-print">
    <field h="6mm" name="AddDropdownGOExterior" w="28.575mm" y="0.138mm" relevant="-print">
    <ui>
    <button highlight="inverted"/>
    </ui>
    <font typeface="Arial"/>
    <caption>
    <value>
    <text>Add Item</text>
    </value>
    <para hAlign="center" vAlign="middle"/>
    </caption>
    <border hand="right">
    <edge stroke="raised"/>
    <fill>
    <color value="212,208,200"/>
    </fill>
    <corner/>
    </border>
    <bind match="none"/>
    <event name="event__click" activity="click">
    <script contentType="application/x-javascript">//+ GENERATED - DO NOT EDIT (ID:23EFDB6C-2F4B-4F54-A6AC-CD20621C6CE2 CRC:1796082201)
    //+ Type: Action
    //+ Result1: AddInstance("$Node2")
    //+ Node2: form1[0].Report[0].GoExterior[0].ItemsSubFormDoorsWindows[0].DropdownGODoors[0]
    //+ Node1: form1[0].Report[0].GoExterior[0].DropdownAddGOexterior[1].AddDropdownGOExterior[0]
    //+ Condition1: Button("$Node1","click")
    //+ ActionName: AddDropdownGOExterior.click
    this.resolveNode('ItemsSubFormDoorsWindows._DropdownGODoors').addInstance(1);
    if (xfa.host.version &lt; 8) {
    xfa.form.recalculate(1);
    /* This button will Add one instance of the repeating subform or table row.
       sSubformSOM: SOM expression of the repeating subform or table row.
       bCalc:  
    Flag - true if the new instance might be referenced by other calculations, otherwise false.
       message:
    The error message displayed.
       These variables must be assigned for this script to run correctly.
       Replace &lt;value&gt; with the correct value.
    var sSubformSOM = "&lt;value&gt;";
    // Example: var sSubformSOM = "xfa.form.form1.Subform1";
    var bCalc = true;
    // Example: var bCalc = false;
    var message = "You have reached the maximum number of items allowed.";
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 10.0.2.20120224.1.869952.867557 - Subform_Instance_Controls_Add.xfo
    // Build the SOM expression of the Instance Manager using the 'underscore' syntax.
    var oSubform = xfa.resolveNode(sSubformSOM);
    // Evaluate the SOM expression.
    var sParentSOM = oSubform.parent.somExpression; 
    // Get the parent SOM expression.
    var sManagerSOM = sParentSOM + "._" + oSubform.name; // Build the SOM expression of the Instance Manager.
    var oManager = xfa.resolveNode(sManagerSOM);
    // Evaluate the SOM expression.
     var nMaxCount = oManager.occur.max;
    // Get the maximum number of subform occurrences allowed.
    var nSubCount = oManager.count;
    // Get the current number of instances.
    // Proceed if the maximum number of subform occurrences has not been reached.
    if ((nMaxCount == "-1") || (nSubCount &lt; nMaxCount)) {
    // Invoke the Instance Manager.
    var oNewInstance = oManager.addInstance(1);
    // Fire the form calculations.
    if (bCalc == true) {
    // Execute all the form calculations.
    xfa.form.recalculate(1);
    } else {
    xfa.host.messageBox(message,"Add Item", 3);
    // END OF DO NOT MODIFY
    </script>
    </event>
    <assist>
    <toolTip>Add an item</toolTip>
    </assist>
    </field>
    <margin topInset="2.54mm" bottomInset="2.54mm"/>
    <?templateDesigner expand 0?></subform>
    <subform w="203.2mm" name="ItemsSubFormDriveWay" layout="tb">
    <draw name="Text3" w="29.2864mm" h="5.2331mm">
    <ui>
    <textEdit/>
    </ui>
    <value>

    Hi guys,
    I don't think, that it is possible to change the values of the dropdown by changing only the xml-file.
    I found another solution:
    1. open the form in Acrobat Pro
    2. select in the menu bar Form->Manage Form Data->Import Data
    3. choose your current xml-file
    4. save the form
    Now the values are available.
    To change the values, you have to repeat these 4 steps with a new xml-file.
    regards
    Martin

Maybe you are looking for

  • Suppress pages in Reports 9i

    I have two reports. The first report contains just one page (kind of a summary report). The second one contains the page of the first report and further information. Right now I have to maintain two reports in case of changes. We are using rwservlet

  • Strange behavior with floats!

    Hi All, I'm seeing something that I can't make sense of, so I was hoping someone here might be able to help! The following piece of code details an actionListener event for a button on a GUI. // Declaration earlier on private float opacity = 0f; // A

  • Document Library saving link instead of the whole file

    Hi, I was just playing around with the document library v0.92 for application express. The application stores the whole information of the doc inside the database. If I wanted to just save the name of the file and the link of the file in the database

  • Free 3 of 9 (Font 39) family for Barcode in SSRS

    Hi All, I have created a Barcode report in SSRS 2008 R2 and it is working fine in Report Builder but failing to render exactly in web page and PDF export. I have tried with all the available bar code fonts but no luck.. Looking forward for your help.

  • Strange issues after 10.6.4 update

    Hi there I've noticed a few weird things after upgrading to 10.6.4: 1) All my fonts in Microsoft Office applications have been set to default. After changing then, they still revert back. 2) When browsing the web, TinyMCE boxes display weird characte