Multiple form field instances populating ES Process Mgr variables

Hi ES Process Designers,
I am building up a new process in which the user can add instances of one to many fields in a form. I'm trying to find a way to populate a variable(s) with the second or greater instance of a form field value.
When using a List variable I can retrieve process_data/field[1]. It appears that the form isn't returning a list of all instances as process_data/field[2] remains empty. Possibly I don't understand how the form returns data to the process?
Variable = Variable1, type List
Location = /process_data/FormField
Expression = /process_data/myForm.pdf/ ... /data/FSFIELDS_/FormField[2]
Any assistance with this will be very much appreciated. Thanks,
Rod

Hi
Try opening your form in Acrobat, and exporting the data.
This will show you the format of your data, and should give you a clue about how to reference it using an xpath expression.
It's also highly recommended that you design an XML schema for your form, which will allow the Xpath expression browser to see "inside" the fields in your form. Please see the Designer docs for more information.
The official LiveCycle training courses also cover these techniques.
Howard
http://www.avoka.com

Similar Messages

  • Is it possible to create a form with multiple form fields on a single line?

    Is it possible to create a form with multiple form fields on a single line?  I can't find anything in the documentation or a template that does this.
    I am trying to create a "documents received" checklist with a check box on the left margin, a date-received field to the right of the check box and and a description of the document (Formatted Text) on the far right.
    In the past I have entered the Fixed Text with a word processor, published it to a PDF file, then added the check box and date fields with the Acrobat Forms editor.  I would prefer to use FormsCentral if it is possible.

    We now support multiple fields on one line. This post provides a brief overview.
    Give it a try and send us your feedback.
    Sorry it took so long.
    Randy

  • How to change font in multiple form fields?

    I am creating a form - there are about 2 dozen form fields that are set up.
    I had Acrobat detect form fields.
    Is there a way I can select multiple form fields and change the font in all of them?
    I have tried selecting all the fields [cmd A] and double clicking to get to the appearance tab.
    The only changes the font in the 1 field I double click.
    thanks everyone!

    matthewmcneil wrote:
    I am creating a form - there are about 2 dozen form fields that are set up.
    I had Acrobat detect form fields.
    Is there a way I can select multiple form fields and change the font in all of them?
    I have tried selecting all the fields [cmd A] and double clicking to get to the appearance tab.
    The only changes the font in the 1 field I double click.
    thanks everyone!
    Select all the form fields , select first the hold shift key and select the rest Then right click or control click and choose properties. then look for "Fonts" choose desired font. If this works your all set otherwise you will have to choose each indivually and change.

  • How do I put a timestamp in a form field in a business process?

    At a specific step in the process, when a user approves a form, I would like to put their name and a timestamp in a text field that is locked.  I think there are some different ways to do this, but each has their own issues.
    Javascript in form:
    I could do this via javascript before the form is submitted, but how do I know which step in the process we are in?
    Business Process:
    I don't think I can directly access the form from the process.  I can read from the form, but cannot set values, correct?
    Custom Render Process:
    I have a custom render process but I would need to extract all the data from the form, merge with the xml for the new field, then merge back in with the document.  Not sure how to do this.
    Any ideas on what the best way to handle this would be?
    Thanks

    Hi,
    You can use the executeScript component to set the timestamp in the form or varible. Mention below is an example to get the timestamp in dd/MM/yyyy format.
    java.text.DateFormat dateFormat = new java.text.SimpleDateFormat(
                    "dd/MM/yyyy");
    java.util.Date date = new java.util.Date();
    String datetime = dateFormat.format(date);
    System.out.println("Current Date Time : " + datetime);
    patExecContext.setProcessDataStringValue("xpath of the form field or variable", datetime);
    Regards,
    Waqas

  • Best Practices for Multiple Forms-Reports Instances (WebLogic) on Win2008R2

    Hello all,
    I’ve succeeded in creating two instances of Forms/Report (FR) in WebLogic and am looking at about 5 or 6 FR instances on a one Windows Server 2008R2 box. I understand each instances will have its own folder (FR_Inst1) structure under the Middleware folder. Currently I have two instances configured each with its own Home (FR_Home1 & FR_Home2) and Domain (FR_Domain1 & FR_Domain2). Both the of the separate FP applications function correctly.
    Can multiple similar type instances share a single Home (FR_Home)? Can multiple similar type instances share a single Domain outside of the WebLogic Domain, such as FR_Domain?
    Thanks,
    Ron

    Thanx for the reply! I read through the documents and they are very good at explaining how to install the different components individually. I still can't find much on installing them together. I hope it's not just going to be a trial and error thing.
    So far I've installed done the following successfully:
    Installed 10.3.5 weblogic
    Forms and Reports 11g on top of 10.3.5
    I've created an additional managed server for our ADF applications.
    My next step is upgrading the JSF to 2.x. I would have to stage patches 12917525 and 12979653. I'm afraid it will break the forms and reports though. Any ideas?

  • Is there a way to rename multiple form field names with a "b" at the end?

    I have a two page form, both are identical.  I need to rename all the field names on page 2 with a "b" at the end of the file name so they dont conflict with that of the first page.  Is there any fast way of doing this without renaming each individual one at at time?  I have a LOT to do!

    It's not possible with JavaScript. The name property of a field is read-only.
    I would suggest making a template from the first page and then spawn a new page from it.
    If you do it from a script make sure you set the bRename property to true and the form fields will be automatically renamed, but you can't specify the name, it will be in following pattern:
    P<Page Number>.<Template Name>.<Original Field Name>

  • Designate form field type during import process Acrobat 10

    Is there a way for me to assign a type of form field to content in Word when I import it into Acrobat to create a form? Acrobat knows to create entry fields when I input underscores after text, and it knows to create digital signature fields when it sees the word "signature" followed by underscores.
    However, I'm having a problem with check boxes and radio buttons. I've been creating them manually, which means they're never exactly the same size or positioned exactly right. It's also very time-consuming. Is there something that indicates to Acrobat that it should create a radio button or check box, much like the underscores tell it to create an entry field?

    No there's not. But there are a number of things you can do to create fields that are the same size and quickly align, as discussed here just the other day: http://forums.adobe.com/thread/1087979?tstart=0

  • Multiple Form Field Validation

    I run throught these series of checks before submitting the variables to the .jsp script. Problem is that it will ignore the sender name and receipient name as long as there are two email addresses. Why is that?
    if (sendername eq "") {
            nameerrorTXT.text = "PLEASE ENTER YOUR NAME";
        if (emailfrom.indexOf("@")<0 or emailfrom.indexOf(".")<0) {
            emailfromerror.text= "PLEASE USE A VALID EMAIL ADDRESS";
            emailfromTXT.text = "";
        if (recipientname eq "") {
            recipientnameerrorTXT.text= "PLEASE ENTER YOUR FRIEND'S NAME";
            recipientnameTXT.text = "";
        if (emailto.indexOf("@")<0 or emailto.indexOf(".")<0) {
                emailtoerror.text= "PLEASE USE A VALID EMAIL ADDRESS";
                emailtoTXT.text = "";
        } else {
            _root.sendername = sendername;
            _root.recipientname = recipientname;
            _root.emailfrom = emailfrom;
            _root.emailto = emailto;
            _root.emailsubject = sendername + " " + emailsubject;
            _root.emailbody = emailbody;
            _root.loadVariables("/jsp/sendMail.jsp", "POST");
            sendernameTXT.text = "";
            recipientnameTXT.text = "";
            emailfromTXT.text = "";
            emailtoTXT.text = "";
            nextFrame();

    Thanks Klad,
    I actually tried that route. The problem was that if any one of those 'if' statements were true the the function would stop and I needed the function to check AND respond to each field if needed. I found that the 'else' statement would fire regardless to all the 'if' statements except for the one just before it.
    I'm sure there is a better way to do and I'd like to know how but I solved the issue by creating a last 'if' statement that lumped all the if statements together. This way I would achieve the error feedback needed AND keep the 'ELSE' statement from firing. See below
    submitBNT.onPress = function(){
        if (sendername eq undefined | sendername eq "") {
            nameerrorTXT.text = "PLEASE ENTER YOUR NAME";
            sendernameTXT.text = "";
        if (emailfrom.indexOf("@")<0 | emailfrom.indexOf(".")<0) {
            emailfromerror.text= "PLEASE USE A VALID EMAIL ADDRESS";
            emailfromTXT.text = "";
        if (recipientname eq undefined | recipientname eq "") {
            recipientnameerrorTXT.text= "PLEASE ENTER YOUR FRIEND'S NAME";
            recipientnameTXT.text = "";
        if (emailto.indexOf("@")<0 | emailto.indexOf(".")<0) {
                emailtoerror.text= "PLEASE USE A VALID EMAIL ADDRESS";
                emailtoTXT.text = "";
        if (sendername eq undefined | sendername eq "" | emailfrom.indexOf("@")<0 or emailfrom.indexOf(".")<0 | recipientname eq undefined | recipientname eq "" | emailto.indexOf("@")<0 or emailto.indexOf(".")<0) {
            /// DO NOTHING
        } else {
            processMailForm();

  • Set maximum size in Text Form Field Options for a field in bi publisher RTF

    Hi All,
    How to set maximum size in Text Form Field Options for a field in bi publisher RTF.
    I have a RTF whch is having a field in that i need to add some validation condition but after adding certain condition in Add help text tab ,it is not accepting after certain length, how i can increase the length to unlimited,please help me on this
    Thnaks

    Form fields have some restrictions if your are using version lower than 11g.
    They can accommodate only 393 chars. You can add the text in both status bar and help key, which can in total consume 393 chars.
    If your code logic is more than that, it can be split into multiple form fields as Avinash suggested or you can use sub template logic and handle coding over there. Again in sub template code can be within/outside form fields.
    So there is no option for user to increase the size of form field.

  • Editing Form Fields inside Acrobat? (after using LiveCycle Designer)

    Adobe Acrobat 9 Pro Extended ==  Acrobat
    LiveCycle Designer ES 8.2 == LiveCycle Designer
    =========================================
    Say I downloaded a new PDF from the interwebs.
    I want to add some forms fields so I go to Forms ==> Add or Edit Fields... (inside Acrobat)
    Now Acrobat will detect possible places where to add the form fields. I make changes etc. Then I am  satisfied with my form fields.
    Now say I want to remove a particular object from the PDF, lets take an image as an example.
    So I fire up  LiveCycle Designer; File ==> New ==> Import a PDF document ==>  Create an Interactive Form with a Flowable Layout.
    I remove that pesky little object.
    In LiveCycle Designer, I save the file as PDF.
    I open up Acrobat. I realize I need to make some more changes to some of the Form  Fields.
    But now instead of "Add or Edit Fields..." option I get "Edit Form in  Designer..."
    I hate the GUI of LiveCycle Designer --- I had rather edit the form  fields from inside Acrobat, as it is easy and fast to change multiple  form fields in a few clicks.

    Thank you Niall for the above response; Your response gave me an idea which allowed me to remove that line by zooming in to 200%
    You know Acrobat detects Form Fields for you.
    But many times it makes mistakes, for example in the screenshot below it made the boxes that came with the PDF as text fields instead of check boxes.
    The thing is rather than me delete the (form) fields it detected, and start over by making new check boxes, I will not be able to place my new check box in exact locations as Acrobat has done.
    When I imported the fields that Acrobat made into LC (by saving the PDF in Acrobat and then opening it with LC) I get option to change the Object Type from Text Field to Check Box when I right click the object.
    Is there a similar way to change the Object Type from Text Field to Check Box inside Acrobat? Any suggestions?
    ===========
    I would really like to do it inside Acrobat because then if I have to make some minor changes to some field properties, all my hard work which I did by filling the fields gets deleted, as I am forced to use LC. The text I add to the fields don't get deleted when I edit the field properties inside Acrobat. I don't know why LC decides to delete all the text which is filled out in the form fields even though the PDF is saved in Acrobat before being imported into LC?
    Here is the above PDF file with the text boxes:
    http://www.mediafire.com/?lnn32jm5am5
    Again thanks for all your guidance so far.

  • Using Auto Suggest To Set The Value Of Multipe Form Fields

    I would like to use the Spry 1.5 Preview Auto Suggest widget
    to provide the value for multiple form fields based on the row the
    user selects in the auto suggestion data set. I've placed an
    example of what I want to do here:
    http://www.brucephillips.name/spry/Spry_P1_5_Preview/autosuggest/autosuggestMultipleFields .cfm
    It appears that when the user clicks on one of the rows in
    the auto suggestion data set, the current row for the data set is
    not updated but remains the default (first row in the data set).
    Therefore, if you have a spry:detailregion that uses that data set,
    the values for that detail region are from the first row in the
    data set and not the row the user selected.
    Is it possible to set the current row of the auto suggest
    data set to the row the user clicked on in the auto suggestion data
    set so that the spry:detailregion will have the values from the row
    the user clicked on?
    I had previously modified the Spry 1.4 Auto Suggest widget to
    do this. See:
    http://www.brucephillips.name/blog/index.cfm/2006/11/6/Modifing-Sprys-Auto-Suggest-Widget- to-Bind-Users-Selection-to-A-Form
    Thank you for any assistance.

    Cristian: thank you for the reply. I understand your concern
    about the user changing the auto suggest field after updating the
    complimentary fields. I think that could be handled through user
    instruction. Additionally, instead of using form fields to hold the
    complimentary data I could use non-editable paragraphs.
    I hope the change is not too difficult. I think this
    modification would make the auto suggest widget even more useful.
    For example think about a product auto suggest. User starts to type
    in the name of the product, selects the full product name from the
    auto suggestions, and now the page can immediately show in a
    spry:detailregion all the product details.
    Thanks again for considering my request. I really appreciate
    all the work the Spry team is doing. I'm looking forward to the
    official release of Spry.

  • Optimize a PDF doc with form fields

    Hi All,
    I have completed a PDF with multiple form fields (about 70). It's only one 8.5 x 11 page. It is 2.2 mB large. I've tried different ways of Optimizer but it always removes the input field functionality.
    How can I decrease file size while maintaining the integrity of the form? Thank you so much in advance. PDF attached.
    Dina

    Generally, the only thing that I remove after creating a pdf file with forms that doesn't effect the fields is to remove embedded fonts. It would be best to to all of the other optimizations before creating the form fields.
    That's nice you say, but I've got the form fields already. Try reducing the size (as you have already done), then replace the page in the file with the form fields with the one whose size you have reduced. The form fields should stay. I don't know what happens to the size of the new file, let us know?

  • Upload multiple files WITH correct pairs of form fields into Database

    In my form page, I would like to allow 3 files upload and 3 corresponding text fields, so that the filename and text description can be saved in database table in correct pair. Like this:
    INSERT INTO table1 (filename,desc) VALUES('photo1.jpg','happy day');
    INSERT INTO table1 (filename,desc) VALUES('photo2.jpg','fire camp');
    INSERT INTO table1 (filename,desc) VALUES('photo3.jpg','christmas night');
    However, using the commons fileupload, http://commons.apache.org/fileupload/, I don't know how to reconstruct my codes so that I can acheieve this result.
    if(item.isFormField()){
    }else{
    }I seems to be restricted from this structure.
    The jsp form page
    <input type="text" name="description1" value="" />
    <input type="file" name="sourcefile" value="" />
    <input type="text" name="description2" value="" />
    <input type="file" name="sourcefile" value="" />The Servlet file
    package Upload;
    import sql.*;
    import user.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.Map;
    import java.util.HashMap;
    import java.util.Date;
    import java.util.List;
    import java.util.Iterator;
    import java.io.File;
    import java.io.PrintWriter;
    import java.io.IOException;
    import java.text.SimpleDateFormat;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    public class UploadFile extends HttpServlet {
    private String fs;
    private String category = null;
    private String realpath = null;
    public String imagepath = null;
    public PrintWriter out;
    private Map<String, String> formfield = new HashMap<String, String>();
      //Initialize global variables
      public void init(ServletConfig config, ServletContext context) throws ServletException {
        super.init(config);
      //Process the HTTP Post request
      public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
        request.setCharacterEncoding("utf-8");
        response.setCharacterEncoding("utf-8");
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        Thumbnail thumb = new Thumbnail();
        fs = System.getProperty("file.separator");
        this.SetImagePath();
         boolean isMultipart = ServletFileUpload.isMultipartContent(request);
         if(!isMultipart){
          out.print("not multiple part.");
         }else{
             FileItemFactory factory = new DiskFileItemFactory();
             ServletFileUpload upload = new ServletFileUpload(factory);
             List items = null;
             try{
                items = upload.parseRequest(request);
             } catch (FileUploadException e) {
                e.printStackTrace();
             Iterator itr = items.iterator();
             while (itr.hasNext()) {
               FileItem item = (FileItem) itr.next();
               if(item.isFormField()){
                  String formvalue = new String(item.getString().getBytes("ISO-8859-1"), "utf-8");
                  formfield.put(item.getFieldName(),formvalue);
                  out.println("Normal Form Field, ParaName:" + item.getFieldName() + ", ParaValue: " + formvalue + "<br/>");
               }else{
                 String itemName = item.getName();
                 String filename = GetTodayDate() + "-" + itemName;
                 try{
                   new File(this.imagepath + formfield.get("category")).mkdirs();
                   new File(this.imagepath + formfield.get("category")+fs+"thumbnails").mkdirs();
                   //Save the file to the destination path
                   File savedFile = new File(this.imagepath + formfield.get("category") + fs + filename);
                   item.write(savedFile);
                   thumb.Process(this.imagepath + formfield.get("category") +fs+ filename,this.imagepath + formfield.get("category") +fs+ "thumbnails" +fs+ filename, 25, 100);
                   DBConnection db = new DBConnection();
                   String sql = "SELECT id from category where name = '"+formfield.get("category")+"'";
                   db.SelectQuery(sql);
                    while(db.rs.next()){
                      int cat_id = db.rs.getInt("id");
                      sql = "INSERT INTO file (cat_id,filename,description) VALUES ("+cat_id+",'"+filename+"','"+formfield.get("description")+"')";
                      out.println(sql);
                      db.RunQuery(sql);
                 } catch (Exception e){
                    e.printStackTrace();
            HttpSession session = request.getSession();
            UserData k = (UserData)session.getAttribute("userdata");
            k.setMessage("File Upload successfully");
            response.sendRedirect("./Upload.jsp");
      //Get today date, it is a test, actually the current date can be retrieved from SQL
      public String GetTodayDate(){
        SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd");
        String today = format.format(new Date());
        return today;
      //Set the current RealPath which the file calls for this file
      public void SetRealPath(){
        this.realpath = getServletConfig().getServletContext().getRealPath("/");
      public void SetImagePath(){
        this.SetRealPath();
        this.imagepath = this.realpath + "images" +fs;
    }Can anyone give me some code suggestion? Thx.

    When one hits the submit button - I then get a 404 page error.What is the apaches(?) error log saying? Mostly you get very useful information when looking into the error log!
    In any case you may look at how you are Uploading Multiple Files with mod_plsql.

  • Best Solution for Creating an Onlne Purchase order form with multiple calculation fields

    I am a bit confused.  Our school has a Forms Central account which works great for our registration forms but I need to find a solution for creating an online purchase form with multiple calculation fields - I know that forms central does not support calculation fields (too bad) but I know that Acrobat Pro does... soooo...
    Can you create the forms in Acrobat and then somehow integrate the advanced features into forms central?  Do they talk to each other?  Is this easy to do? .... I guess another way to putting it is can you create the forms in Acrobat including all of the advanced features for payment calculation and then host it online using Forms Central to manage and collect the data? (I guess that really is my question)
    Thanks (how does this compare to a solution like Formstack?)

    Hi, thanks.
    The naming convention was the consistant up until a point when I read that you need a '.' syntax (?!) - does anyone know if this is true?
    Attached is a version with Bernd Alheit's suggestion and with all the naming of the fields being consistant. It's still not working for me though after doing this and I'm stuck as to why, because I think it should work. I've also tried writing the calcualting line of code in the same manner that Bernd Alheit suggests before I came on here, and it wouldn't work then.
    As with any coding, it must be something to which I have done, but I can't see it anywhere
    Any ideas? Thanks for helping me
    Cheers

  • Validation of multiple empty fields in dynamic form

    Hi,
    I have created multiple fields dynamic form consisting of both mandatory & optional fields. Since the mandatory fields are validated by default, I want to validate the optional fields while submitting as PDF document dynamically and prompt me to continue or discard the submission. Also validating each & every field is not valid option as my form contains more than 200 fields.
    I have tried with the below script which I successfully used to lock the form but in validating the empty fields I have a problem. Although I populate all the fields in the form, still I receive the validation message. Can anybody help me out on this issue?
    for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) {
    var oFields = xfa.layout.pageContent(nPageCount, "field");
    var nNodesLength = oFields.length;
    // Set the field property.
    for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) {
    if (oFields.item(nNodeCount).isNull = 1 && oFields.item(nNodeCount).length < 0){
    xfa.host.messageBox("All the form fields are not completed, Do you want to continue","Field Validation", 2, 2);
    break
    Thanks,
    Jay

    I discovered how to accomplish this using the Manage Dynamic Form Wizard and changed the "Display as" field property from "Text field" to "Text" for the fields I wanted read only.
    Now I have another problem, the properties of one of the fields (for comments) was "Text area" when I changed it to "Text" I now have this extremely long line that streches the width of the browser.
    Is there a way to get this line to wrap? This is he line I'm working with...
    <td class="form_results"><?php echo KT_escapeAttribute($row_rssubmissions['sub_comments']); ?></td>
    Dennis
    I found the answer to this problem, Günter had answered it in another post.
    http://forums.adobe.com/message/1875032#1875032
    Dennis

Maybe you are looking for

  • Where to find the detailed log for  Repository/Directory

    Hi all, I have configured some configuration objects both in Integration Repository and Directory. But facing some problems like activating the changes, partially missing configuration etc. For such problems, where we can find the logs to analyze the

  • Archived Data - Sales Order Header Text

    We have archived the object SD_VBAK and I notice that some of the sales order header text also been archived. Now, the question is from where I retrieve back those header text. I am building the info structure but I need to know the object name for t

  • Different Message Type, Different Namespace, same structure

    Hi, we have the scenario: We have a message type (with our namespace) in a regular file-tofile scenario. The sender is sending us an xml-file from his PI that  has exactly the same structure and same xsd. Except, that his message type name and namesp

  • Open a custom page on click of a result from Search Result screen

    Hi, We are in process of designing the architecture of our sharepoint application. We have a tweeky requirement. From the default search results page, if user click on one of the result, a custom page should open which not only display the actual res

  • MGBLX1 & Cisco SG300-28

    I am trying to connect the 2 Cisco SG300-28 switch using the MGBLX1 module with a single mode fiber cable. When I inserted & removed the module it detected (see attached screenshot) but when I see the optical module it is not detected (see attached s