Dynamic form processing in struts

Hi all,
I need your help regarding dynamic form elements form processing.
Here is my JSP Script,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<html:html>
<HEAD>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
     pageEncoding="ISO-8859-1"%>
<TITLE>Processing Dynamic Forms</TITLE>
<script type="text/javascript">
//function which adds new row
function AddRow()
     tb=document.getElementById("demo");
     // attach counter
     lnrows = tb.rows.length;
     //alert(lnrows);
     newrow = tb.insertRow(lnrows);
     var fourth_col = "amt"+lnrows;
     cell3=newrow.insertCell(0);
     cell3.innerHTML="<center><input type='text' id='"+fourth_col+"' name='"+fourth_col+"' size='10'/></center>";
     document.getElementById("cntr").value = lnrows;
// function to delete row
function DeleteRow()
     tb=document.getElementById("demo");
     lnrows = tb.rows.length;
     //alert(lnrows);
     if(lnrows > 2)
          tb.deleteRow(lnrows-1);
          document.getElementById("cntr").value = tb.rows.length - 1;
</script>
</HEAD>
<BODY>
<html:form action="/dynaActions">
<TABLE id='demo' align='center' width='80%' border='1'>
<TR>
     <TH width='25%'>Party Name</TH>
</TR>
<TR>
     <TD align='center'><input type='text' id="party1" name="party1" size="30" /></TD>
</TR>
</TABLE>
<TABLE align='center' width='80%' border='0'>
<TR align="right">
<td>
     <html:button property="Add" value="Add" onclick="AddRow();" ></html:button>
     <html:button property="Remove"  value="Remove" onclick="DeleteRow();"></html:button>
</td>
</TR>
<TR align="center">
<td>
     <input type='hidden' id="cntr" name="cntr" value="1" />
     <html:submit/>
</td>
</TR>
</TABLE>
</html:form>
</BODY>
</html:html> As you seen there is dynamically form elements generated as many as required. Now how do I process this with ActionForm & Action?
Regards,
Mahesh

Hi rrhegde,
Thanks for response.
Ok, So instead of making it party1, party2, party3, party4, .............................
if I make it party[1], party[2], party[3], party[4],.............................
But then how do I process this array. Since the array length will not be fixed, it depends upon users.
If possible pls provide me some example code on this.
Thanks & Regards,
bonzy

Similar Messages

  • JSP dynamic form processing

    Hi, I'm a JSP beginner. I have a form, which contains several tables. The number of the tables is not fixed. All the tables have the same data structure, just the size of them are not the same. Now I need to submit the form and then use JSP to process the data in it. What I know is to use JavaBean to deal with a form with fixed number of inputs. But if the number of inputs is not fixed, like what I described above, is there any efficient way I can use to read it with JSP?
    Thank you!

    When you submit a JSP page, each input tag in the form must have a unique name so that whatever you submit the JSP page to can read those unique name/value pairs of values.
    If you have a list of indeterminate length (myArray.size() ), here is an example of how you would give each textfield a unique name:
    <%for(int ii=0;ii<myArray.size();++ii){%>
    <input type="text" name="firstName_<%=ii%>" >
    <%}%>
    In the above, the first textfield name will be firstName_0, the second would be firstName_1, etc.
    Back on the servlet, you read it as follows:
    for(int ii=0;ii<myArray.size();++ii){
    String firstName= request.getParameter("firstName_"+ii);
    }

  • Dynamic forms in struts

    Hi,
    I have a pretty difficult problem that I don't know how to solve using struts. I need to generate dynamic surveys from a database. The structure of the survey can be different for every different user. I really want to use the struts Form classes but I'm not sure how to do this. The only way I can think of is messy...
    For every new type of survey generated from the database...
    1. Generate a new class definition for the struts Form object and compile that.
    2. Every struts Action class that interacts with the new dynamic Form classes will need to use reflection on the dynamic Form object to be able to pull all of the data from that form.
    I'm sure there are many web sites where forms are dynamically generated and I would think this problem has already been solved. Does anyone out there have any ideas?

    Try to follow this way:
    1 provide actions chain in your configuration file like this:
             <form-bean
                  name="addFlatForm"
                  type="app.owner.forms.AddFlatForm">
                </form-bean>
            <action
                 path="/InitAddFlatForm"
                 type="app.owner.actions.InitAddFlatFormAction"
                 attribute="addFlatForm"
                 validate="false"
                 parameter="owner.extendedplace;place;/pages/AddFlat.jsp">             
            </action>
            <!-- "/pages/AddFlat.jsp" - jsp page with html:form on it-->     
            <action
                 path="/AddFlatForm"
                 type="app.owner.actions.AddFlatAction"
                 name="addFlatForm"
                 validate="true"
                 input="/pages/AddFlat.jsp">
                 <forward
                      name="success"
                      path="/shortinfo/Welcome.do"></forward>
            </action>2 first action(InitAddFlatFormAction) will be "prepare" action, where you must create new instance of the ActionForm descendant with Map, List, array etc definition. where your dynamic fields will be located , and fill the keys value from your database.
    public class InitAddFlatFormAction extends Action{
         public ActionForward execute(ActionMapping mapping, ActionForm form,
                HttpServletRequest request, HttpServletResponse response){
              //obtain parameters
              String[] params = ActionHelper.parseParameter(mapping, 3, Constants.PARAMETER_SEPARATOR);
              //get extended place from session attribute
              ExtendedPlace currPlace = (ExtendedPlace)ServletUtils.getAttribute(
                        request, params[0], ServletUtils.SESSION_SCOPE);
              //create form if form == null
             if (form == null) {
                  System.out.println("InitAddFlatFormAction::execute method: create new instance of action form.");
                  //create new form instance
                  form = new AddFlatForm(new HashMap<String, Object>());
                  //set form to selected scope attribute
                if ("request".equals(mapping.getScope()))
                     ServletUtils.setAttribute(request,
                               form, mapping.getAttribute(), ServletUtils.REQUEST_SCOPE);   //just set the value to selected scope
                else
                     ServletUtils.setAttribute(request,
                               form, mapping.getAttribute(), ServletUtils.SESSION_SCOPE);   //just set the value to selected scope
             //fill the form
             AddFlatForm flatForm = (AddFlatForm) form;
             flatForm.setValue(params[1], currPlace);
             return URIUtils.forwardAction(params[2]);
         }3 second action(AddFlatAction) will be "process" action. This action can be used when your data are successful validated.
    //any your actions4 form bean(ActionForm desctndant)
    public class AddFlatForm extends ActionForm{
         public AddFlatForm(Map<String, Object> map){
              super();
              //check input arguments
              AssertHelper.notNullIllArg(map);
              setMap(map);
         private Map<String, Object> map = null;
         public void setMap(Map<String, Object> map) {
              this.map = map;
         public Map<String, Object> getMap() {
              return this.map;
         public void setValue(String key, Object value){
              getMap().put(key,value);
         public Object getValue(String key){
              return getMap().get(key);
        public ActionErrors validate(ActionMapping mapping,
                HttpServletRequest request) {
            return (null);
    }And than in your jsp page you can use something like this:
    <%@ taglib uri="/tags/struts-html" prefix="html" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
                                            <c:set var="placeId">
                                                 <bean:write name="extPlace" property="placeInfo.id"/>
                                            </c:set>
                                            <c:set var="groupId">
                                                 <bean:write name="groups" property="filterGroupInfo.id"/>
                                            </c:set>
                                            <c:set var="filterId">
                                                 <bean:write name="filters" property="filter.id"/>
                                            </c:set>
                                            <bean:message name="filters" property="filter.filterDescription"/>
                                            <html:text property="value(${placeId};${groupId};${filterId})"/>                                                                 Something like this are displayed in struts-example.war (example application for struts1.1)
    pay attention for classes
    EditRegistrationAction.java and SaveRegistrationAction.java
    sorry for bad english... :)

  • Dynamic forms struts

    I need to display a page with dynamic form elements. i.e I will not be aware of the form content...how many text boxes, drop downs while writing the concrete form bean.
    Can anyone let me know how to achieve this using struts.

    I'm not sure struts will work for you as you do not know what fields will be on the form until run-time.
    You may be stuck with working with the Action's request object:
    mRequest.getAttribute(mFieldName[1]);
    Where mFieldName is 1 or more form fields with the same name...
    I'm looking into this myself and will let you know if I come up with something better.

  • Dynamic Forms and WF

    Hello,
    I have designed a dynamic form, where user can add rows dynamically by clicking a button on the form, the form is working fine in preview in designer.
    this form is initiating a LC WF process, but, if I deploy this form to form manager as an XDP and choose to render it to PDF, adding rows function does not work, however if I save this as dynamic PDF from LC designer and deploy it again to form manager, it works !!
    However, I can not use PDF generated from LC Designer since I found that commenting and annotations are not working ( I am using acrobat ) which is an important feature, also, web services calls are not working even, again from Acrobat!
    How can I set the form server installed with workflow server to render XDP templates into dynamic PDF forms ?
    Or alternatively how to enable commenting and fix web service calls in PDF rendered form ?
    Thank you for help,
    Greetings,

    By default Forms and Form Manager are configured to render a PDF as either static or dynamic based on some values in the XDP. By default those values will tell it to render a static PDF. What you can do, in Designer save as a dynamic PDF, then open the dynamic PDF in Designer and save as an XDP. Upload that XDP to Form Manager, the tags will be present to tell it to be rendered as a dynamic PDF. There's a better way if you are using Designer 7.1 and Forms 7.1, but since I don't know your environment this is a way that will work regardless of versions.
    Annotations will not work in dynamic PDF's though. Currently annotations make no sense in dyanmic PDF's since the template of the PDF can dynamically change while annotations are bound to a specific location. IE: You have a dynamic PDF that is initial 4 pages and add an annotation to page 4. Later the template of the PDF changes based on data and user interaction and it is now a 2 page PDF, but the annotation is still on page 4 which no longer exists...
    Chris
    Adobe Enterprise Developer Support

  • Created a dynamic form (saved as dynamic pdf) have an email link (that works), when the email is rec

    I have a dynamic form that I created and I need to get it posted but am having some issues.
    1. I need the fields to be optional and it tells me that the information entered is not what was expected
    2. I have a button to click that will send the completed form to a department mailbox, but when the form arrives it is a .xml and only contains the newly entered information. What did I do wrong? I saved it as a dynamic pdf.
    3. Is there a way to send you my form so that we can talk about it together???
    I am on the verge of tears with frustration.....

    Here is the warning message I get.  This is from the Preview PDF mode.
    cid:[email protected]
    I fixed the email buttons like you directed thank you!
    When I tried to the do the file save as for the reader extended pdf, this is all I get:
    cid:[email protected]
    I have working on this since January along with many other projects (mostly presentations) and the department that this form is for is chomping at the bit because they need to track their training requests coming in and are working to shift the process of how you request training for the entire enterprise.  I am attaching the form so maybe you can take a peek at the damage I’ve done ☺  I think it would be helpful if I took a class, everything I’ve done I’ve taught myself with trial and tissues!
    Thank you so very much for your advice and help I truly appreciate it!
    Brenda Beebe-McWhirter, RN |Staff Development Instructor |WellMed Medical Management, Inc.
    Telephone: 210-561-6533 ext 6114  | Fax: 210-617-4091  |  http://www.wellmedmedicalgroup.com

  • Dynamic Form Help Needed !!

    Hi Guys,
    I need a form that has the following how do i code it in
    dreamweaver ?
    name :
    email address :
    phone number :
    status: item are New, Contacted, Appointment Scheduled, Sold
    ( This would be a dropdown and depending on what the user chooses
    the options below show up )
    commission amount (only shows if the status is changed to
    "Sold")
    Thumbnail Calendar (only shows if Appointment Scheduled is
    the status)

    Depends on what sort of server side processing you're going
    to be using for
    your dynamic form...
    Do you have that info??
    "NYCKIDDbx" <[email protected]> wrote in
    message
    news:fmip1k$rhv$[email protected]..
    > Hi Guys,
    >
    > I need a form that has the following :
    >
    > name :
    > email address :
    > phone number :
    > status: item are New, Contacted, Appointment Scheduled,
    Sold ( This would
    > be a
    > dropdown and depending on what the user chooses the
    options below show
    > up )
    > commission amount (only shows if the status is changed
    to "Sold")
    > Thumbnail Calendar (only shows if Appointment Scheduled
    is the
    > status)
    >

  • Extracting data from dynamic forms

    I am new to using Livecycle and see the advantages of using dynamic forms for collecting data. I have designed several dynamic forms which include rows with 6 to 9 text fields and may be completed with 10 to 100 rows. I  have had to use text fields for collecting numeric information as many of the references start with zeros (003456).
    Whilst Acrobat Pro provides for Livecycle dynamic forms to be enabled for Acrobat Reader filling and saving is extracting to Excel the best option available if you do not have the Enerprise version of Livecycle?
    One problem I have in using Excel is that whilst the completed  PDF documents capture the leading zeros, when I view the Excel spreadsheet the lead zeros have been lost. I have experienced this problem in importing Excel files into Access. To overcome this I usually create five lead rows with characters in all the fields that I want Excel to define as text - otherwise it processes them as numerics.
    Any better ways of extracting data from a hundred or so dynamic forms? 

    Hi,
    your problem is not the exported data, it's Excel that drops the leading zeros by default.
    You can use a custom pattern to keep the leading zeros.
    0#### will display intergers with up to 5 places with a leading zero.
    Value:           Displayed Value:
    012               012
    12345          12345
    0045             0045
    Here an example video for telephone numbers.
    http://www.youtube.com/watch?v=n4lGHTG0kCk

  • Dynamic form input name

    Hi,
    My brain is frozen or something because I couldn't think out this issue.  Basically my form input radio name and value are dynamically pulled from a database.  The name of the form is concat with a name and id is from a database.  On the form processing side, how would I get all the dynamic input radio name.  The value of the input will be attach to the name.  Hope that make sense. 
    form.cfm
    <cfquery name="get_form_name" datasource="#ds#">
         SELECT id, name
         FROM records
    </cfquery>
    <cfoutput>
    <form action="form_process.cfm">
    <cfloop query="get_form_name">
    <p>name: <input type="radio" name="test_#get_form_name.id#" value="#get_form_name.name#" /></p>
    </cfloop>
    <input type="submit" value="submit">
    </form>
    </cfoutput>
    form_process.cfm
    somehow get all the input name from the FORM to set cfparam and value.  Once I have this, i have the form values that are passing over.

    Your requirement is that you want the application to remember the name of a query variable across multiple page requests. That is a typical case where you would use the session scope.
    Following your example,
    form.cfm
    <cfquery name="get_form_name" datasource="#ds#">
         SELECT id, name
         FROM records
    </cfquery>
    <cfset session.formRecords = structNew()>
    <form action="form_process.cfm" method="post">
    <cfoutput query="get_form_name">
    <p>name: <input type="radio" name="test_#id#" value="#name#" /></p>
    <cfset session.formRecords["test_#id#"] = name>
    </cfoutput>
    <input type="submit" name="sbmt" value="submit">
    </form>
    form_process.cfm
    <!--- The names and values of the form fields are stored, respectively, as key-value pairs in the structure session.formRecords--->
    <cfdump var="#session.formRecords#">
    Remarks
    1) I simplified the code somewhat. I also added post method to the form, as I assume that is what you are aiming for. Otherwise the form fields will be submitted via the URL.
    2) It seems to me the database table holds rows having distinct values of ID . Therefore, my guess is that the functionality you should be going for is <input type="checkbox"> instead of <input type="radio">.

  • Convert dynamic form to dynamic input form

    Hi All,
    I am using Jdeveloper 11.1.2.4.
    As a part of a requirement, I have created a dynamic form built out of a read only view object.
    On a user event (button press), I want to convert the form into an input form to allow the user to make suitable change to data and save to the database.
    At this stage I have programmatic access to the table name which is being used to create the dynamic form.
    Please suggest on how to convert the dynamic form into input form.
    Best Regards,
    Ankit Gupta

    <cfupdate> process data from the form scope. You are
    not putting your
    role datum into the form scope. You need to scope the
    variable in your
    cfset(s).
    <cfset form.roleColumn = form.role=>
    But I am not sure this would work well. It is probably better
    if you
    write your own SQL. <cfinsert> and <cfupdate> are
    for very basic
    database operations. Once you start putting other processing
    requirements in, such as this, they quickly become
    inadequate.
    Try replacing your <cfupdate> with a <cfquery>
    tag something like this.
    <cfquery datasource="my_DSN">
    UPDATE my_table
    SET lastName = '#form.lastName#',
    firstName = '#form.firstName#',
    #form.role# = true
    WHERE key = value
    </cfquery>
    I made my best guesses at how this SQL would look based on
    the examples
    you have provided. You'll have to finish it off based on your
    actual
    requirements.
    Mikelaskowski wrote:
    > Thanks,
    > I really like your solution. It definatly sounds a lot
    easier.
    > I am still having a little trouble though. I am probably
    missing something
    > silly (especially in my cfupdate tag) as I am a little
    new at this stil.
    >
    > When I used your code in my action page I get the
    following error:
    > Error Occurred While Processing Request
    > Variable PRESIDENT is undefined. <--when president is
    selected in the role
    > field. It changes nicely when another is selected.
    >
    > Here is my current code on my action page:
    >
    >
    > Thanks Again!!!
    >
    > <CFSET lastFirst = lastName & ", " &
    firstName>
    > <CFSET roleColumn = Evaluate(role)>
    > <cfupdate datasource="my_DSN"
    tablename="my_table">
    > <html>
    > <head>
    > <title>Title</title>
    > </head>
    > <body>
    > <cfoutput>The role is #roleColumn#<br>
    > The value is #lastFirst#</cfoutput>
    > </body>
    > </html>
    >

  • Importing data into dynamic form

    I have not yet had a chance to work with LiveCycle, and I have been given a project which I need to determine if LiveCycle would be the correct solution. The client originally wanted this to be a Microsoft Word form, but I doubt that I can meet the requirements using Word.
    I need to design a form which a user can enter multiple line items either manually, or by importing existing data. The data itself would be about 40-50 distinct pieces of data, in a block of  several sections and multiple lines (i.e Name, Address block, Phone/fax/email, contact and comment section, etc) and would be a combination of text fields and checkboxes. There would be 2-3 of these blocks per page (with a static header/footer), plus a cover page with data fields for the organization using the form.
    I know that I could create this type of dynamic form in LiveCycle to be entered manually, but I don’t know what options, if any, I would have in giving the user the ability to import existing data from an unknown source (could be a text file, a local or hosted database, excel, etc.).
    My questions are about the feasibility of LiveCycle for this project:
    Can data be imported from a data source the user chooses? Are there any limitations to what kinds of data sources can be used? Would I need to program a custom function to allow the user to match the proper fields for the import, or is there a built in function to handle this?
    Would there be any platform/application limitations? Can the form be used with Reader on a desktop computer (Mac or PC), or on a tablet (and if so, is a specific app necessary instead of the default app)?
    Are there any other foreseeable issues I may have to deal with?

    Thanks for the info. A few followup questions if you don't mind:
    1. Needs to configure an ODBC-connection on every system it is used.
    This form will be sent to our client, and they will send it to their customers. Can the connection setup be scripted, or is it simple enough that a generic set of instruction can be given to the end user to allow them to setup the connection and map their fields to the form's content easily?
    2. Requires Acrobat or a reader-enabled from to use in Reader. Data is automatically populated in the form fields. Only xml files for import allowed. Allows to use XSLT to format imported data.
    I doubt that the end user would have their data in a compatible XML format, so this option may not be necessary. Is Reader-enabling a form in LiveCycle comparable to the process in Acrobat? I have heard LiveCycle Enterprise is very expensive and required for certain functions, does this apply here? Does this require a specific server setup for these forms?
    3. Difficult scripting to update field values automatically. Works in Reader and Acrobat.
    The data would not need to be updated automatically, just pull current data into the form. This would be a one-way operation, there would be no need to update the data source from values within the form. I would still need to give the user a way to map their fields to the form.
    Are you aware of any tutorials or example files that would help give me a start? I had a brief look at the LiveCycle Designer ES2 Scripting Reference, but I"m not sure which objects to look into.
    None of these methods will work on mobile devices as there is currently no support of XFA in Reader Mobile.
    Good to know. The same is probably true if I were to create the form in Word/Office.

  • File upload in dynamic form

    Hi,
    I have a requirement to create a dynamic form. the input fields for the form come from a database query, and i will be getting back results like:
    input field name data type
    field1 text
    field2 select
    field3 attachment
    I am facing an issue with the attachment type of fields.
    i have tried creating my dynamic form using two different approaches -
    1. use the APEX_ITEM apis
    2. use htp.p to just output html from a pl/sql anonymous block.
    in both the cases, we do not have options to create a file input, not atleast directly.
    Can some one guide me on any existing solutions or approaches to this problem ?
    Note: i would prefer a solution based on the 2nd approach (using htp.p) since it gives me more flexibility with the other handlings.
    APEX_UTIL also doesn't have open APIs for file create, and i also found the radiogroup API not very friendly (did nt get it to work since i moved on to the other approach)
    Regards,
    Ramakrishnan

    Hi, if you want to submit your files, you will need hidden file upload objects in your page. One for each files, so you need to set a limit because you won't be able to submit hundreds of files anyway. Lets say between 5 to 10. Each hidden file upload will have one computation to put the data that will be sent to the server.
    iBEGIN
    IF wwv_flow.g_f01.COUNT > 0
    THEN
    RETURN wwv_flow.g_f01 (1);
    ELSE
    RETURN NULL;
    END IF;
    END;
    Then the only other things you need is an acceptation branching.
    You don't need a process to send those files. When your reload your page, a process should remove the file from APEX_APPLICATION_FILES table to your target table.
    It's Denes Kubicek's solution ! I suggest you to visit his demo website !

  • Slow loading and tabbing with dynamic form

    Hi. I have a 45 page pdf and I need to be able to select some pages to not print based on content of a field. To do this I understand the form needs to be saved in Acrobat v7 or greater and saved as a dynamic form. So far so good. When I create the dynamic form by opening the existing 45 page pdf, livecycle creates a form object for each line in the document. That's a ton of objects that don't need to be objects. I am adding 15 enterable fields into this document. For example the document may contain a line of text "Last Name", this appears as a form object as described. I am adding a text field next to that so the user can enter their last name. After saving the document it takes a long time to load and the tabbing from field to field is very slow. I am thinking this might be due to processing all the form objects that don't need to be form objects, but not sure. Question: based on my description is there a way to create this document without all those non-enterable form objects?

    Hi. I have a 45 page pdf and I need to be able to select some pages to not print based on content of a field. To do this I understand the form needs to be saved in Acrobat v7 or greater and saved as a dynamic form. So far so good. When I create the dynamic form by opening the existing 45 page pdf, livecycle creates a form object for each line in the document. That's a ton of objects that don't need to be objects. I am adding 15 enterable fields into this document. For example the document may contain a line of text "Last Name", this appears as a form object as described. I am adding a text field next to that so the user can enter their last name. After saving the document it takes a long time to load and the tabbing from field to field is very slow. I am thinking this might be due to processing all the form objects that don't need to be form objects, but not sure. Question: based on my description is there a way to create this document without all those non-enterable form objects?

  • Dynamic form fields collection order?

    I have a basic dynamic form feild with Instances that allow a user to enter data in a Table Row then, if neededed, ADD another row/instance to enter more.
    The form worls well and is processed via Adobe.com Tracker.
    Tracker and the exports to .csv of the data adds all the instances of new rows to the END of the spreadsheet and tracker form responses dispaly..  In other words it seems to process the entire form and all its fields in order, ignoring any new instances, THEN goes back and begins collecting the instances adding them to the end columns of the response spreadsheet.  Would be much easier to parse/read/collect responses if any new instances were collected and recorded next to the same location where the first instance occurred.
    Hope that makes sense.  For example if I had:
    FirstName
    LastName
    Date
    field
    field
    field
    field
    dynamic field (with otpion to add additional items/entries)
    field
    field
    field
    filed
    The data collection would appear as:
    FirstName
    LastName
    Date
    field
    field
    field
    field
    dynamic field (with otpion to add additional items/entries)
    field
    field
    field
    filed
    dynamic field extra entry 1
    dynamic field extra entry 2
    dynamic field extra entry 3
    But I would prefer is to appear as:
    FirstName
    LastName
    Date
    field
    field
    field
    field
    dynamic field (with otpion to add additional items/entries)
    dynamic field extra entry 1
    dynamic field extra entry 2
    dynamic field extra entry 3
    field
    field
    field
    filed
    ... with the dynamic new isntances collected and recorded adjacent to each other.  Doesnt seem like much until you have a long form with multiple new instance form options and all new instances seem to be arbitrarily thrown onto end of collection spreadsheet.
    Many thnaks!

    I have a basic dynamic form feild with Instances that allow a user to enter data in a Table Row then, if neededed, ADD another row/instance to enter more.
    The form worls well and is processed via Adobe.com Tracker.
    Tracker and the exports to .csv of the data adds all the instances of new rows to the END of the spreadsheet and tracker form responses dispaly..  In other words it seems to process the entire form and all its fields in order, ignoring any new instances, THEN goes back and begins collecting the instances adding them to the end columns of the response spreadsheet.  Would be much easier to parse/read/collect responses if any new instances were collected and recorded next to the same location where the first instance occurred.
    Hope that makes sense.  For example if I had:
    FirstName
    LastName
    Date
    field
    field
    field
    field
    dynamic field (with otpion to add additional items/entries)
    field
    field
    field
    filed
    The data collection would appear as:
    FirstName
    LastName
    Date
    field
    field
    field
    field
    dynamic field (with otpion to add additional items/entries)
    field
    field
    field
    filed
    dynamic field extra entry 1
    dynamic field extra entry 2
    dynamic field extra entry 3
    But I would prefer is to appear as:
    FirstName
    LastName
    Date
    field
    field
    field
    field
    dynamic field (with otpion to add additional items/entries)
    dynamic field extra entry 1
    dynamic field extra entry 2
    dynamic field extra entry 3
    field
    field
    field
    filed
    ... with the dynamic new isntances collected and recorded adjacent to each other.  Doesnt seem like much until you have a long form with multiple new instance form options and all new instances seem to be arbitrarily thrown onto end of collection spreadsheet.
    Many thnaks!

  • Create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box

    HELP!!! Can anyone please provide some guidance on how to create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box.
    I have a form which – based on the department that's selected from a drop-down box – will have different form fields/text boxes, etc, made available.
    Is this possible in LiveCycle, if so, can you please provide the script/info - as needed.
    Thanks,

    In the preOpen event of the second dropdown list you put something like (in formCalc):
    if (dropdown1 == 1) then
    $.clearItems()
    $.setItems("Year, 2 Year,  3 Year")
    elseif (dropdown1 == 2) then
    $.clearItems()
    $.setItems("3 Year,  4 Year")
    endif

Maybe you are looking for

  • How do I use bluetooth on ipad

    I am trying to connect my ipad 2 to my phone with bluetooth. the phone found the ipad but ipad wants a pin. This is the first time I have used bluetooth on ipad so have not setup a pin number. what do I use?

  • Copying a 1/2 page (8 1/2 x 11) to other side

    I created a 1/2 page flyer, and I wanted to copy and paste it on the other half, so that I have two same 1/2 page flyers, then I will print and cut in half. However, when I copy "Select All" and "Copy", when I "Paste" it to the other side, it only br

  • Time Capsule backups disappeared. Anyone can help?

    Hello! I would like to know if anyone has experienced the problem I'm having now. I have a 2TB Time Capsule to backup the data from my MacBook Pro (2.53GHz Core 2 Duo). A couple of days ago, I needed to look for a backed up file, so I ran to my TC ba

  • Sm19 audit log

    hi friends, I have activated audit log and i can able to view log with SM20. But I have one doubt .......is that audit log occupies space in file system only (or) Database level only? or it occupies both? is it possible to get this audit log from any

  • How to make a call in j2me using bluetooth technology?

    Hi All, I wanted to make a call to another device which is in my bluetooth range i wanted to know how to make such a call?And i have heard that using bluetooth for making calls we can only do half duplex communication that is at a time only one perso