Dynamic Forms in ES processes

I have a few questions about how best to handle a few things in a form I am working on in Designer ES. I am hoping to use out-of-the-box services for as much of this as possible.
* I have a dropdown (DropDown1) which will be populated from a database. Now, the content of my next dropdown (DropDown2) is dependant on the choice the user chooses for DropDown1. The options for DropDown2 are also in a database. Ideally, I'd like to have the data for DropDown1 prepopulated wen the user first opens the form. But what is the best way to populate DropDown2 after DropDown1 has been chosen? Do I preload all of the options when the form is rendered and just bring up the ones I need on a change event on DropDown1? Or can I query ES when I need the info?
* In another part of the form, I have a dropdown for a list of applications (the list is in a database). For each application, I have a different set of data I need to request from the user (i.e for Application A, I need to know installation location and serial number, for Application B, I need to know serial number, a date needed and a username, etc). So I'd need a customized subform for each applciation. Is there a way to say, bring in a form fragment from the Resources in ES and insert it into my subform on the fly when on a change event on the DropDown?
Thanks in advance!
Templeton

You can dynamically compose a form at runtime via as3.
Here is a quick example.
HTH.
ps: afaik there is no component which automatically builds a form from xml.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="init()">
<mx:Script>
<![CDATA[
     import mx.controls.TextInput;
     import mx.containers.FormItem;
     private function init():void {
          var formItem:FormItem = new FormItem();
          formItem.label = "FormItem1";
          var textInput:TextInput = new  TextInput();
          formItem.addChild(textInput);
          myForm.addChild(formItem);
]]>
</mx:Script>
     <mx:Form id="myForm">
          <mx:FormHeading label="My Form"/>
     </mx:Form>
</mx:Application>

Similar Messages

  • 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

  • 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

  • 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... :)

  • 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

  • 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

  • Get values from dynamic form items

    Hi All,
    I create a dynamic form with text input component
    private function buildForm():void{
                    var numberOfColumns:Number = 5
                    var formItem:FormItem = new FormItem();
                    var hBox:HBox = new HBox();
                    for(var i:Number=0; i< numberOfColumns; i++) {
                        var formInput:TextInput = new TextInput();
                        formInput.text = "test";
                        formInput.id = "txt_" +i;
                        hBox.addChild(formInput);
                    formItem.addChild(hBox);
                    loansForm.addChild(formItem);
    I can see the text input components, update the values.
    How can I get the updated values from the input components?
    I try  this["txt_" + i].text  but not working. It's not finding the component with the dynamic value.
    Any ideas?
    Thanks
    Johnny

    Hi,
    Here is the related thread, u will get some help
      http://forums.adobe.com/message/3075226
    Thanks and Regards,
    Kanchan Ladwani | [email protected] | www.infocepts.com

  • How to clear grey loading screen and animated gif (Dynamic Action with "Show Processing" on submit)

    APEX V4.2.3
    DB 11.2
    I have a classic report on page 1.  I have a region button called "Export" (defined by a submit dynamic action with "show processing=Yes") that submits the page and then via a branch directs me to page 2 which has a slightly different version of the report on page 1 (i.e. no breaks) which I want to capture as a CSV export.  Therefore I've set the report template on page 2 to " Export:CSV".
    Now when I click on the page 1 export button the grey screen and loading gif appears indicating that the report is executing and then as expected, page 2 doesn't appear but instead the standard open/save window's dialog box appears asking to open or save the generated CSV file.  All good..but the grey loading screen remains.  How do I clear this loading screen and get back to the context of page 1 ?
    thanks in advance
    PaulP

    Hi PPlatt,
    We would love to help but you left out one crucial part of the puzzle: namely how does your CSV report get exported. With the way it is setup (a redirect to another page), I'm going to assume you do that because you have some PL/SQL on that page that prints the CSV.
    Now there are two questions that are crucial here:
    - How do we stop the icon from bugging us on the screen
    - How do we communicate with the browser that it should no longer display the loading icon
    The first question is rather easy, two simply lines of codes can do that:
    $('#apex_wait_popup').hide();
    $('#apex_wait_overlay').hide();
    But when do we use this code? Quite simple when the document is downloaded. When is it downloaded? At the end of the PL/SQL code that prints the document to the browser.
    What you could do is at the end of that code give an application item a certain value. For example :AI_PRINTED := 'Y';
    Then all you need to do is let the browser ask for the value. You could do this by using JavaScript to continuously fire AJAX to the server using a JS timing event:
    http://www.w3schools.com/js/js_timing.asp
    Better would be a Server send event, but since you left out another crucial piece of information: your browser, I will not go deeper into this.
    Start this timing event when someone asks for the document, and end it as soon as the process returns that :AI_PRINTED equals 'Y'.
    Despite the lack of information, I hope I have given, or at least inspired you to get to the solution.
    Regards,
    Joni

Maybe you are looking for