Multiple Drop down boxes

I have a jsp in which i'm using 5 drop downs.
I have to populate the last 2 drop downs according to the value selected in the first 3 drop downs. I can do this by selecting the first three drop downs and submitting the form, then load the other two drop downs. But I do not want to do it that way.
Please reply if you guys think of any other way.
Thanks for the help.
Anjana

Hi Priyankaswings,
Thanks for the reply. I guess you didn't understand what i was asking for.
According to what you said("if the value in first drop box is Fruit then in other drop box values are apple mango whatever .. like form validation"), it's not the problem selecting one drop box's value according to an other one.
here's my original problem description
************************************************************************I have a jsp in which i'm using 5 drop downs.
I have to populate the last 2 drop downs according to the value selected in the first 3 drop downs. I can do this by selecting the first three drop downs and submitting the form, then load the other two drop downs. But I do not want to do it that way.
For example, I have 1st drop down "Vehicles"(Cars, Vans,Trucks, MotorBikes), 2nd drop down "Types"(Sports cars, SUV's, family cars,Luxury cars etc), 3rd drop down "Make"(Acura, Honda, Volvo, Lexus, mazda, Vokswagon etc). These three drop downs will all be populated from the database. When the user selects one from each drop downs, according to that combination you need to populate the "Model".
Say i selected Cars in 1st drop down, SUV's in the second and Volvo in the third , it should populate the model according to the selected three values. Hope you get a clear picture now.
It's actually combination of three drop down boxes that i need to look for. And if at all the user keeps changing the selection of even one drop down out of the first 3 drop downs, the value of the last 2 drop downs will be changed.. Any idea???
Thanks,
Anjana

Similar Messages

  • How to get values from a multiple drop-down box.

    On my first page, I have a multiple drop-down box as the following code.
    <select name="selInterMethod" class="textbox" multiple>
    <option selected value="CH">Chicago</option>
    <option value="NY">New York</option>
    <option value="SF">San Francisco</option>
    </select>
    On my second transaction page, I need to save "CH-NY" into my Database column: city if the user selected Chicago and New York.
    How can I accomplish this in JSP?
    Thanks for your help.

    I figured out the solution. Here it is. FYI
    String inter_method = "";
    String Inter_Method[]=request.getParameterValues("selInterMethod");
         if( Inter_Method.length > 0 ) {
              for (int i = 0; i < Inter_Method.length; i++) {
                   inter_method = inter_method + '-' +Inter_Method;
              inter_method = inter_method.substring(1,inter_method.length());
              System.out.println("trx inter_method = " + inter_method);

  • Manipulating drop-down boxes for fillable forms in Adobe XI Pro

    I'm creating a form with multiple drop-down boxes. Is there anyway to create a selection with multiple lines? For instance, for addresses? Can I center the text inside of the drop-down, or bold it? Can a drop down be split into multiple lines to flow along with paragraphs?
    Also, can a fillable text form expand without disrupting the rest of the document?
    Is there any program that will do any of this?

    Is there anyway to create a selection with multiple lines? For instance, for addresses?
    - Yes, but only with a script and it's not a documented feature so sometimes it doesn't work well.
    Can I center the text inside of the drop-down, or bold it?
    - No.
    Can a drop down be split into multiple lines to flow along with paragraphs?
    - Not sure what you mean there... How is this different from the first question?
    Also, can a fillable text form expand without disrupting the rest of the document?
    - No.
    Is there any program that will do any of this?
    - The last one (expanding text fields) can be done if you create your form in LiveCycle Designer. The rest I'm not sure about.

  • Linking drop down boxes

    Hi all,
    I would like to add multiple drop down boxes to my model, say f.e.:
    - division
    - country
    - sales manager
    - customer
    These drop down boxes should be linked, such that when I select a value for division, the second drop down box only contains values that are applicable for division A. In our example, division A only sells products in Germany and Spain. When I select Germany, I would like the third drop down box to only show the names of sales manager from division A that sold products in Germany.
    How to build this?
    Best regards,
    Ralph

    Hi Ralph,
    therefore you can write a simple ABAP RFC. Start the transaction SE80 and create a RFC function module.
    If you use text in your infoobject ZDIVISION you can use a simple ABAP:
    FUNCTION ZZ_GET_MD_ZDIVISION .
    *"*"Lokale Schnittstelle:
    *"  TABLES
    *"      T_TABLE_VIEW STRUCTURE  /BIC/TZDVISION OPTIONAL
    * For reading the data from the textable
    SELECT * FROM /BIC/TZDVISION INTO CORRESPONDING FIELDS OF TABLE T_TABLE_VIEW.
    ENDFUNCTION.
    Then you can use a dynamic entry list and choose for the key F_BIC_DIVISION and TXTSH or TXTMD for your text.
    Then you have to create your RFC function module for ZPRODUCT, this could look like:
    FUNCTION ZZ_GET_MD_PRODUCT .
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_SEARCH) TYPE  STRING OPTIONAL
    *"  TABLES
    *"      T_TABLE_VIEW STRUCTURE  /BIC/TZPROCUDT OPTIONAL
    data: l_condition type string.
    * Preparing String for SQL Statement e.g. A% for Division A
    CONCATENATE '''' I_SEARCH '%' '''' INTO I_SEARCH.
    CONCATENATE 'ZPRODUCT LIKE' I_SEARCH INTO l_condition SEPARATED BY SPACE.
    * For reading the data from the textable
    SELECT * FROM /BIC/TZPROCUDT INTO CORRESPONDING FIELDS OF TABLE T_TABLE_VIEW WHERE (l_condition).
    ENDFUNCTION.
    Then you create a dynamic entry list for ZPRODUCT and choose for input (I_SEARCH) the value of the divsion and for output again ZPRODUCT for the key and if you use text TXTMD or TXTSH for the texts.
    Hope that helps,
    Best Regards,
    Marcel

  • Multiple select options in 1 drop down box?

    Hi,
    I have created a form that works perfectly except for the fact that I need to provide multiple select options in the 1 drop down box; for example, I'm asking what product the customer is interested in and his answer could be multiple items such as Soap, Sanitizer, Hand Towels, Face Cloths etc...
    At the moment, the customer can only select 1 item not multiple.
    Is this possible?
    Thanks in advance for the help!

    Hi,
    It is not possible to allow the user to select multiple items in a dropdown list.
    You could use a list box, which does allow multiple selections.
    Good luck,
    Niall
    Assure Dynamics

  • This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left.

    This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left of each drop down.

    See McAfee support to find out how to disable that McAfee feature - that isn't part of the normal Firefox installation.

  • Multiple drop down menu items to populate the a separate text box...more help please

    Thanks to Gilad D67 for showing me how to have multiple drop down menu items appear in a separate text box. This stuff blows my mind. Is there any script I can use to make a new drop down menu item appear in the same text box, but on a new line below a previous entry. For example. I select 'cat' from my drop down menu and it appears in my text box. Now I choose 'dog' from my menu and it appears in my text box like so  'cat dog.' Is there any way I can make 'dog' go straight to a new line automatically without having to manually go into the text box and change it?
    cat
    dog (new selection goes straight to a new line)
    Now, I don't have a clue if this is also possible, but imagine, I don't like my drop down menu selection of 'dog' and I go back into the menu and I change to 'rat' but in the text box, 'dog' still appears and 'rat' is added. Do I have to manually delete 'dog' from the text box or is there script that can do this for me.
    Any assistance would be incredible. It amazes me how people know this stuff.
    This is the script I have so far
    (function () {
        // Do nothing if not committed
        if (event.willCommit) return;
        // Set up an array to hold the individual paragraphs of text
        var aQuotes = [3];
        // Populate the array with the paragraph text
        aQuotes[0] = "Use common singular nouns, plural nouns [plural ‘s’] and proper names to say what things are"
        aQuotes[1] = "Use numbers 1–10 to count"
        aQuotes[2] = "Use basic adjectives and colours to say what someone/something is or has"
        // Get the selected item, which is the export value of the selected combo box item
        var item = event.changeEx
        // Display the text corresponding to the selected item in the text field
        getField("Text30").value += " " + aQuotes[item];

    You have to set the option for the text field to be multiline and then change the last line of the script to:
    getField("Text30").value += "\r" + aQuotes[item];
    To reset the field you can use a separate button with a Clear Form command, and then you just select this one field from the list.

  • Need multiple drop down menus to populate text in one text box

    Not sure how to do this. I have 27 drop down boxes with the choice of true or false. What I need is that everytime someone chooses false it will create a list of subjects that were false at the end of the document in the notes section.
    I tried a simple false export value and on blur - run a java script 'this.getField('NOTES: Resource concerns').value = event.value;', but it will replace the previous drop down boxes subject. Is there a way for me to get multiple lines included in the notes section?
    Thank you

    This is quick and from memory, i can't test it right now, but it should give you an idea. Put this in a document level script:
    function SetNotesField() {
         // Set up a variable to hold the entire NOTES field value
         var Notes
         // Add the value for each dropdown box here (replace 'GetValueFor_SE_FieldHere' with the value you will use for that dropdown)
         if (this.getField('SE').value == 'true') {
              Notes = Notes + 'GetValueFor_SE_FieldHere' + '\r'  // add a carriage return if needed
         if (this.getField('SQ').value == 'true') {
              Notes = Notes + 'GetValueFor_SQ_FieldHere' + '\r'  // add a carriage return if needed
        //...Duplicate the above for any other fields you need
         // Set the value of the notes field to the concatenated value for all dropdowns.
         this.getField('NOTES').value = Notes
    For each dropdown field, add the following to the 'OnBlur' event:
    SetNotesField()

  • How do I enable multiple dynamic drop down boxes?

    I'm using Windows 2000, Java SDK 2 Standard, Tomcat, Apache, Microsoft Access and Macromedia Dreamweaver Ultradev 4.
    With UltraDev I'm trying to create a jsp page that has more than one dynamic drop down box or more than one dynamic select list box. I can show one dynamic object and as many static objects as I need. But when I add a second dynamic drop down box, with a second recordset, the page will only display the first dynamic object and all content following that object will not display.

    Here's the code:
    <%@page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*"%>
    <%@ include file="Connections/conn.jsp" %>
    <%
    Driver DriverRecordset1 = (Driver)Class.forName(MM_conn_DRIVER).newInstance();
    Connection ConnRecordset1 = DriverManager.getConnection(MM_conn_STRING,MM_conn_USERNAME,MM_conn_PASSWORD);
    PreparedStatement StatementRecordset1 = ConnRecordset1.prepareStatement("SELECT STATE_NAME, COUNTRY FROM STATE");
    ResultSet Recordset1 = StatementRecordset1.executeQuery();
    boolean Recordset1_isEmpty = !Recordset1.next();
    boolean Recordset1_hasData = !Recordset1_isEmpty;
    Object Recordset1_data;
    int Recordset1_numRows = 0;
    %>
    <%
    Driver DriverRecordset2 = (Driver)Class.forName(MM_conn_DRIVER).newInstance();
    Connection ConnRecordset2 = DriverManager.getConnection(MM_conn_STRING,MM_conn_USERNAME,MM_conn_PASSWORD);
    PreparedStatement StatementRecordset2 = ConnRecordset2.prepareStatement("SELECT FIRSTNAME, LASTNAME, AGE FROM PLAYER");
    ResultSet Recordset2 = StatementRecordset2.executeQuery();
    boolean Recordset2_isEmpty = !Recordset2.next();
    boolean Recordset2_hasData = !Recordset2_isEmpty;
    Object Recordset2_data;
    int Recordset2_numRows = 0;
    %>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <form name="form1" method="post" action="">
    <p>
    <select name="select2">
    <option value="Canada">Canada</font></option>
    <option value="France">France</font></option>
    <option value="French Guiana">French Guiana</font></option>
    <option value="French Polynesia">French Polynesia</font></option>
    <option value="French Southern Territories">French Southern Territories</font></option>
    <option value="Germany">Germany</font></option>
    <option value="United Kingdom">United Kingdom</font></option>
    <option value="United States">United States</font></option>
    </select>
    </p>
    <p>
    <select name="select">
    <%
    while (Recordset1_hasData) {
    %>
    <option value="<%=(((Recordset1_data = Recordset1.getObject("COUNTRY"))==null || Recordset1.wasNull())?"":Recordset1_data)%>" ><%=(((Recordset1_data =
    Recordset1.getObject("STATE_NAME"))==null || Recordset1.wasNull())?"":Recordset1_data)%></option>
    <%
    Recordset1_hasData = Recordset1.next();
    Recordset1.close();
    Recordset1 = StatementRecordset1.executeQuery();
    Recordset1_hasData = Recordset1.next();
    Recordset1_isEmpty = !Recordset1_hasData;
    %>
    </select>
    </p>
    <p>
    //Here's where things go awry
    <select name="select4">
    <%
    while (Recordset2_hasData) {
    %>
    <option value="<%=(((Recordset2_data = Recordset2.getObject("FIRSTNAME"))==null || Recordset2.wasNull())?"":Recordset2_data)%>" ><%=(((Recordset2_data = Recordset2.getObject("FIRSTNAME"))==null || Recordset2.wasNull())?"":Recordset2_data)%></option>
    <%
    Recordset2_hasData = Recordset2.next();
    Recordset2.close();
    Recordset2 = StatementRecordset2.executeQuery();
    Recordset2_hasData = Recordset2.next();
    Recordset2_isEmpty = !Recordset2_hasData;
    %>
    </select>
    </p>
    <p>
    <select name="select5">
    </select>
    </p>
    <p> </p>
    </form>
    <form name="form2" method="post" action="">
    <select name="select3">
    </select>
    </form>
    <p> </p>
    </body>
    </html>
    <%
    Recordset1.close();
    ConnRecordset1.close();
    %>
    <%
    Recordset2.close();
    ConnRecordset2.close();
    %>

  • How do I use Javascript to populate a text field based on a selection from a drop down box?

    Greetings,
    I have virtually no experience with JavaScript and I am trying to figure out how to add some basic automation features to an Adobe form.  I have a drop down box called "Hospital_Name" that will contain approximately 7 possible selections.  When the user makes a selection, I would like to have the text field (called "Hospital_Address") below the drop down box populate with the corresponding address for the selection.  I have the "Hospital_Address" text field configured for multiple lines and would like the address to have a line break between the street address and the city/state/zip.
    For example, if the user selected "Hospital 1", the text field would display:
    123 Main St
    Anytown, CA 12345
    Any help or examples you can provide would be greatly appreciated.

    You have the element names within the object within brackets.
    Make sure your brackets are properly placed and matched.
    // Place all pre-population data into a single data structure
    var Location = {
    "--Hospital--":{ line1: " ", line2: " " },
    "Bellevue Medical Center":{ line1: "2500 BMC Drive", line2: "Bellevue, NE 68123" },
    "CHI Bergan Mercy":{ line1: "7500 Mercy Road", line2: "Omaha, NE 68124" }, 
    "CHI Immanuel":{ line1: "6901 N. 72nd Street", line2: "Omaha, NE 68122" }, 
    "CHI Lakeside":{ line1: "16901 Lakeside Hills Court", line2: "Omaha, NE 68130" }, 
    "CHI Midlands":{ line1: "11111 S. 84th Street", line2: "Papillion, NE 68046" },
    "Creighton University Medical Center":{ line1: "601 N. 30th Street", line2: "Omaha, NE 68131" },
    "Nebraska Medical Center":{ line1: "4400 Emile Drive", line2: "Omaha, NE 68105" }
    // some debugging code to see location names;
    console.show();console.clear():
    for(I in Location) {
    console.println(I);
    // end debugging code;
    function SetFieldValues(Hospital_Name) {
        this.getField("AddLine1").value = Location[Hospital_Name].line1;
        this.getField("AddLine2").value = Location[Hospital_Name].line2;
    This is not a beginners task but requires a fair amount of knowledge about the structure of objects, defining strings, and structure of arrays.
    Are you sure you have all the field names correctly spelled and capitalized?
    Do you get any error in the JavaScript console?
    Just trying the line that defines the "Location", I get the following error:
    SyntaxError: invalid property id
    1:Console:Exec
    undefined
    All the form field in a PDF are processed by using JavaScript and any error in any script will stop JavaScript processing.
    It might help to have a link to the problem form.
    Make sure your brackets are properly placed and matched.
    // Place all pre-population data into a single data structure
    var Location = {
    "--Hospital--":{ line1: " ", line2: " " },
    "Bellevue Medical Center":{ line1: "2500 BMC Drive", line2: "Bellevue, NE 68123" },
    "CHI Bergan Mercy":{ line1: "7500 Mercy Road", line2: "Omaha, NE 68124" }, 
    "CHI Immanuel":{ line1: "6901 N. 72nd Street", line2: "Omaha, NE 68122" }, 
    "CHI Lakeside":{ line1: "16901 Lakeside Hills Court", line2: "Omaha, NE 68130" }, 
    "CHI Midlands":{ line1: "11111 S. 84th Street", line2: "Papillion, NE 68046" },
    "Creighton University Medical Center":{ line1: "601 N. 30th Street", line2: "Omaha, NE 68131" },
    "Nebraska Medical Center":{ line1: "4400 Emile Drive", line2: "Omaha, NE 68105" }
    function SetFieldValues(Hospital_Name) {
        this.getField("AddLine1").value = Location[Hospital_Name].line1;
        this.getField("AddLine2").value = Location[Hospital_Name].line2;

  • Web template - Drop Down Box options - Issue

    <b>Requirement:</b> We need drop downboxes for Fiscal Period and Version in our web template. When the query is run, users will choose one fiscal period and one budget version (there are multiple budget versions - 1. Original Budget, 2. Revised Budget 3. Consensus)
    After the query is run, users should be able to see data for any of the past 6 periods and any of the budget versions. So in the drop down list for fiscal period, he should see previous 6 periods and in the drop down for Budgets, they should see all the budget versions.
    If the read mode is set to "Posted values", then only the values user chooses for the variables  at run time will be shown. If the read mode is set to "Dimension table" it'll show all the available periods from the transactional data, which is unacceptable. We also tried the option "Can be changed during Query Navigation" but it will not work the version drop down box as it'll show all the available versions (actual, plan, forecast along with the different budgets)...
    So, is there any other way of solving this issue? By any Javascript?
    <i>This is what I did for the Fiscal Period drop down, but then the solution is not complete.</i>
    For the Fiscal Period variable, I created a new variable and checked the option "Can be changed during Navigation". Then the drop down will be populated with all the possible values. This is how the Fiscal year/ Period combo will work. We'll have two variables. Fiscal year is fixed and we won't have a drop down box for it. So user can not change the year after the query is run. But he can see data for any of the 12 periods of the year he selected.
    But there is a catch. This is not exactly what we are looking for. For example, if the user initially selects Year 2005 and period 10, then he can see all the previous 9 period of year 2005 (also periods 11 and 12). No problem there. But If the user initially selects year 2005 and Period 1, then he expects to see previous periods. But since year is fixed, when he selects period 12 from the drop down list, it'll show him period 12 of 2005 instead of 2004.
    To avoid that problem, we can also put a drop down box for year, but that will become too complicated, as the all the possible years will show up in the drop down. Still trying to figure out a solution around it. Also same problem arises for Version. We only want to see two versions of the Budget. But it'll show them all the possible versions including forecast, actual etc.
    Any insight is highly appreciated.
    Gova

    Hi.
    I has the same problem working on BID.
    Either you need to save the template with a new name or do it under BIP.
    It worked after for me.
    That's why I only do my templates under BIP now.
    I guess a new support package corrects this error.
    Olivier

  • Drop down box question

    Is there a way to allow multiple options to be chosen from a drop down box?  I have the Designer version ES 8.2 that came w/ Acrobat Pro Extended 9.  Thanks.

    I am not aware of any way to enable multiple selections. That said, it would be possible to create a script that concatenates serial selections. (records and joins the selections). This could be displayed in another field, if desired.
    Or, you could script additional instances of your dropdown box with a button. Or, even the exit event of the dropdown box itself.
    Good luck!
    Stephen

  • WAD drop-down box and commands on Set Variable values/ Set Filter Values

    Hello to all
    I am confused in WAD and Help online couldn't clarify my concerns. Thus here following issue:
    I am using a WAD, where the data provider (query)  is set dynamically. I would like that
    1 user selects company in  drop-down-box 1
    2 I use commands on drop-down-box 1 to manage the next drop-down-box 2 ( like it becomes input ready)
    3 user selects plant in drop-down-box 2
    4 User selects a tab strip A, where report A of multiple reports is placed. Now in this moment I assign the query A to the data provider A.
    Now my questions:
    - I am not clear how to use the bex-variables required for the query ( like company and plan). If I use in drop-down variables, then I can't set anymore commands
    - What means and makes the command set_variable_state
    - What means and makes the command set_selection_state
    Thanks a lot for your clarification and help
    Christian

    Hi Christian,
    I will try and answer your Qs
    - I am not clear how to use the bex-variables required for the query ( like company and plan). If I use in drop-down variables, then I can't set anymore commands
    >> Can you explain how exactly are you trying to populate the DropDown webitems for Company / Plant data for user-selection.
    - What means and makes the command set_variable_state
    >> SET_VARIABLE_STATE is used to assign input values to your query variables. Here, the command gives you a range of input options to select from such as Characteristic/Text/Formula/Hierarchy Variables & Binding Type Selection. Binding Type Selection in addition gives you more options such as assigning manual input from a Text webitem [ITEM_INPUT], assigning value from another Variable [VARIABLE], or simply assigning the selected value from an underlying Data Provider such as one mapped to a DropDown webitem [DATA_PROVIDER_CHARACTERISTIC].
    - What means and makes the command set_selection_state
    >> SET_SELECTION_STATE is used to assign input values to Characteristics in your query. It serves as a Filter option.
    I think in your case using SET_VARIABLE_STATE makes more sense. You can use Binding Type Selection with [DATA_PROVIDER_CHARACTERISTIC] on both the DropDown webitems to assign the values of Company / Plant to the query on runtime.
    --Priya

  • Creating cascading drop down boxes in SharePoint 2010 using one list

    We have a support request form tied to a list that end users input data into which when submitted sends out an email.
    Is it possible to create a drop down box on the form that limits the choices in the "subcategory" column, based on what is chosen in the "category" column.  
    For instance in the category column we have SharePoint, Oracle, and Web Tools as choices. 
    In the subcategory column we have items related to each category. We only want items that are related to the selected choice to appear in the subcategory drop down box. 
    I see examples in InfoPath using "Multiple Lists" (one list for city, one for state, etc), but nothing using the same list.  I would rather not use multiple lists if possible. 
    Anyone have any ideas?  Thanks.

    Hi,
    According to your post, you want to create a cascading drop-down list box using one list.
    To achieve what you want, we can:
    Create two fields(category and subcategory) in drop-down list box type in the form in InfoPath.
    Add the list which contains the values of the category and subcategory columns to the form as an external data.
    Right click the category field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
    Choose the list added in step2 in Data source, click XPath behind Entries, click the category column in the list, select Show only entries with unique display names.
    Right click the subcategory field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
    Choose the list added in step2 in Data source, click XPath behind Entries, click the subcategory column in the list, then click Filter Data.
    Click Add, select the category column in the list in the first box, select is equal to in the second box, choose select  a field or group in the third box, then choose Main in the Fields and select the category field in the form.
    Click OK.
    Best regards.
    Thanks

  • Drop down box and Dynamic presence

    I hope this makes sense.
    I have a drop down box with several values in it. Based on the user's selection, different fields and subforms will either be visible or hidden. To do this, I built a switch statement on the exit event of the drop down box. The statement works great until I start introducing dynamic properties to one of the subforms.
    Two of the fields in one repeating subform need to be hidden or set back to visible depending on the choice in the drop down box. However, once you have added multiple instances of the subform, it only hides/displays the FIRST field in the subform. I need it to hide/display ALL of those fields when the subform is repeated.
    To do this, on the first selection, I created a for statement to go through all of the instances and set all of those fields to hidden or visible as needed. However, it's not working. At all. Even on the first instance like it used to.
    I hope I'm making sense. Here is the code I am using for my for statement:
    var indNum = xfa.resolveNodes("RequestDetails.RepeatingSection[*].serialNum");
    for (var i=0; i < indNum.length; i++) {
        xfa.form.form1.Page1.RequestDetails.RepeatingSection(i).serialNum.presence = "visible";
        xfa.form.form1.Page1.RequestDetails.RepeatingSection(i).requestedNum.presence = "hidden";

    Here is what I have found, and I hope it is helpful. Where did ["+i+"] come from? It came from my brain, I guess. Trying to figure out some way of making it work, when all of the documentation's syntax seemed not to work. Even all of the books I have on Livecycle said that a simple [i] would work; but it doesn't within the resolveNode. I figured if it wasn't resolving the variable i, then maybe I needed to separate it out.
    01371406, the only error I see with your form is a null error, which my form was doing do. I'm not entirely sure why it throws back null sometimes when it's done running through the loop; it should simply stop. Nonetheless, to fix it I simply integrated an if statement within my for loop to take care of it. An example of this from my code from earlier:
    var indNum = xfa.form.form1.Page1.RequestDetails.RepeatingSection.instanceManager.count;
    for (var i=0; i < indNum; i++) {
        if (xfa.resolveNode("RequestDetails.RepeatingSection["+i+"]") == null) {
              break;
        xfa.resolveNode("RequestDetails.RepeatingSection["+i+"]").serialNum.presence = "hidden";
        xfa.resolveNode("RequestDetails.RepeatingSection["+i+"]").requestedNum.presence = "hidden";
    Something else that I found while working on this same form, that might seem obvious to others but took me a while to figure out:
    I have a switch statement with 7-8 case statements. Within each case statement, I have two for loops. The first loop I had made used the variable i and it worked fine. However, when I introduced the second for loop, also using the variable i, it freaked out and stopped working. So I switched to another variable. (In addition, the letters h, w, x, y are reserved letters; you can't use them) After switching the variable, it worked fine. So I copied the loop into the next case statement. The form broke again. Apparently I could use a for statement with the variable i in multiple cases, but not any other variable? I literally had to go through the alphabet with the second for loop in each case. What a pain. I still don't know why it was throwing a fit like that.

Maybe you are looking for

  • My internet won't work but skype will

    I have tried both wired and wireless connections.  It says connected but my browsers and ichat will not open, however Skype will connect and even let me video chat.  I am running on Snow leopard on a 2010 macbook pro. I have tried using diagnostics,

  • Error message during recovery reformatting hp mini 110-3030nr

    ordered the recovery usb for my hp mini 110-3030nr trying to format but when its trys to write recovery files I get this error message. copy file fails From: D:\preload\base.wim  To: C:\RM\Image\base.wim   Please help product number WQ809UA#ABA

  • HT3255 original display settings

    Simple question.  How to reset display settings to factory.  macair summer 2013

  • Missing Tracks in iTunes Browser after Match activated

    After iTunes Match successfully completed, not all tracks are found when using the iTunes Browser. For example, selecting the Music icon on the left, ensuring that All Genres, All Arists and All Albums are selected within the Browser, I scroll down w

  • Wireless Controller & Juniper Netscreen Firewall

    I I have a Cisco WLC 4402 plugged into a Cisco Switch 3750 with 10 Access Points connected to this switch. I have a Juniper Netscreen 5XT Firewall, that I wish to place on this wireless network. Does anyone have any experience with setting up a Junip