Auto Create Filename from Form Fields

Hello all,
I am trying to find a way that I can save a form with a certain filename. I have the form create and all set to go. The user will be input some information into boxes. For instance I will have a Name box and a Date box. After the user is done filling out the form I would like the filename to be these two input boxes. Is there a way to do this? So basically I need to take these two form fields and have them be saved as the filename. Any help would be great. Thanks alot.

You can export the data form the PDF using the FormDataIntegration service.
Once you have the data in xml format, you can use a setValue and concatenate the value of the two nodes you're interested in.
Jasmin

Similar Messages

  • Adobe Livecycle: Save as Filename from Form Field Assistance

    I have Livecycle E2 and Adobe 9.0.  I am trying to have a pdf save in a desired location with a filename that originates from a field form.  So far, I have created a folder level script under C/programfiles/adobe/acrobat 9.0/acrobat/javascript/xxxxxxx.js.  Inside the .js folder level I have this so far:
    mySaveAs = app.trustPropagatorFunction(function(doc, path)
         app.beginPriv();
             doc.saveAs(path);
         app.endPriv();
    myTrustedSpecialTaskFunc = app.trustedFunction(function(doc, file_path)
         // Privileged and/or non-privileged code above
         app.beginPriv();
              mySaveAs(doc, file_path);
         app.endPriv();
    Also, I created a button on my pdf with a text field named "NAME".  I ran a javascript with mouseUp on the button with this code:
    // Get the field value
    var fn = getField("NAME").valueAsString;
    // Specify the folder
    var fldr = "/c/testing/";
    // Determine the full path
    var fp = fldr + fn + ".pdf";
    // Save the file
    myTrustedSpecialTaskFunc(this, fp);
    For some reason, the file does not save at all in that location after typing in some text in the name field and hitting the button.  Any assistance would be greatly appreciated!

    I have Livecycle E2 and Adobe 9.0.  I am trying to have a pdf save in a desired location with a filename that originates from a field form.  So far, I have created a folder level script under C/programfiles/adobe/acrobat 9.0/acrobat/javascript/xxxxxxx.js.  Inside the .js folder level I have this so far:
    mySaveAs = app.trustPropagatorFunction(function(doc, path)
         app.beginPriv();
             doc.saveAs(path);
         app.endPriv();
    myTrustedSpecialTaskFunc = app.trustedFunction(function(doc, file_path)
         // Privileged and/or non-privileged code above
         app.beginPriv();
              mySaveAs(doc, file_path);
         app.endPriv();
    Also, I created a button on my pdf with a text field named "NAME".  I ran a javascript with mouseUp on the button with this code:
    // Get the field value
    var fn = getField("NAME").valueAsString;
    // Specify the folder
    var fldr = "/c/testing/";
    // Determine the full path
    var fp = fldr + fn + ".pdf";
    // Save the file
    myTrustedSpecialTaskFunc(this, fp);
    For some reason, the file does not save at all in that location after typing in some text in the name field and hitting the button.  Any assistance would be greatly appreciated!

  • Creating a modifiable form field

    Hi,
    I would like to create a modifiable form field that maps onto a directory server multi-valued field. This field should have the ability to add a value or remove a value as well as displaying the contents of the list. I've spent time reviewing the Workflows, Forms and Views (v8) document but it's not clear how to achieve this sort of field. Is it possible?
    Regds
    CK

    The ListEditor component is what you are looking for.
    Check out this code snippet directly from the documentation:
    <Field name='accounts[Sim1].Group'>
      <Display class='ListEditor' action='true'>
        <Property name='listTitle' value='stuff'/>
        <Property name='allowTextEntry'>
          <Boolean>true</Boolean>
        </Property>
        <Property name='ordered'>
          <Boolean>true</Boolean>
        </Property>
      </Display>
      <Expansion>
         <ref>accounts[Sim1].Group</ref>
      </Expansion>
    </Field>The important stuff in this case is the field name, in this case accounts[Sim1].Group. This means you are displaying/modifying the contents of an attribute "Group" on resource "Sim1". Change this to suit your needs.

  • How we create dynamic add form field in web form

    How we create dynamic add form field in web form?

    Hi,
    Thanks for reply.
    I need to create a form in which "add more" input field dynamically. For
    example sometime we need field on or more. Please look at the demo, I need
    to create form as per demo in business catalyst:
    http://www.openjs.com/scripts/examples/addfield.php

  • When creating a fillable form fields from an existing pdf file, how do you set or allow end user to set the font size in the fields?

    I successfully created a form filled pdf using an existing pdf document.  However, the font size is too large to allow end user to type in information in the form box.  Is there a way to 1)globally set all  of the form fields when generated to a much smaller font size &/or 2) allow end user to change the font size if needed to put all information in one box without font being so large?

    Hi DenisonDoc,
    There is no option right now to set properties globally primarily for Text fields. You may make sure fields doesn't contain anything.
    Select all the text filed from the form and right click any of the selected field make sure all of them are selected choose properties --> Appearance there you can choose Font Size and Font type.
    - End users cant change size and type of font. It is up to designer.
    Regards,
    Ajlan Huda.

  • Auto tab to next form field

    In some forms, when the user types in, for example, the area code for   their phone number, they are automatically tabbed to the cell for the 3   digit prefix and upon completing the prefix they are automatically tabbed to the final cell for the phone number. I know that the user can  hit the tab key themselves, but is Acrobat capable of  automatically  doing this using form fields created in Acrobat in version 9 or 10 Pro?

    It should be the actual name of the next field. The problem with that particular script is for a text field with a three character limit, you have to attempt to enter another character before it will set the focus to the next field.
    Here's a function you can create in a document-level JavaScript that you can call in a text field's custom Keystroke JavaScript that should behave as you want:
    // Document-level function
    function tab_next(next_field_name) {
        // Move to next field if Enter key is pressed
        // or the user has clicked outside of the field
        // or if the number of character is the character limit
        if (event.willCommit || AFMergeChange(event).length === event.target.charLimit) {
            getField(next_field_name).setFocus();
    Then call it like this as the Keystroke script of a text field:
    // Autotab to the "text2" field
    tab_next("text2");
    This particular script will only work if you're set the character limit for the field from which it is called. There are a lot of autotab scripts that folks have created for use with Acrobat (some better than others) that address a particular circumstance, so you'll probably run across more with a search.

  • Bookmarks from form fields

    Is it possible to automatically create bookmarks from the text that the user types into form fields?

    In principle it's possible, but remember that bookmarks can't be added in
    Reader.

  • PO CNV: Auto-Create POs from PUR Reqs generated by OM

    Objective: Convert open sales orders and maintain the link to the purchase order for back to back and drop shipment sales orders? 
    Question: Is it possible to convert the sales orders first.  Then run requisition import to create the purchase requisitions in the PO module.  After the requisition lines are created, convert the purchase orders through the open interface table or an API by auto-creating the PO from the requisition lines?  This would maintain the link between purchasing and order management.
    If this is not possible, does anyone have any suggestions?  Someone mentioned using BPAs (this assumes I can assign items to specific suppliers).
    Any ideas are greatly appreciated.
    Thanks

    Hi,
    After creating a PR, why you want to go thru open interface.
    There is a standard functionality : AUTOCREATE, available , which will convert the PR to PO.
    On PO Shipment level, you can view the SO number & Line Number also.
    Please review the below link.
    Oracle Applications - Functional: Business Flow of Drop Ship Order

  • Import Text From Form Field into Subject Line of Email

    Hello,
    Is there a way to import text from a form field into the subject line of the email when sending back (attaching) the PDF form?  In other words, there is an "applicant name" and I would like that name to be the subject line of the email.
    I am using Adobe Acrobat X (10.1.7)
    If any one has aby guidance or resources online where I can locate this information I would greatly appreciate it!  I have been searching all day but have not found a solution yet. 
    Thanks!

    Thank you so much for the help.  For some reason I cannot get it to work though.   Now, when I hit the submit button it does not do anything.
    Previously, I had the following code under
    ACTIONS>Mouse Up>Submit a Form
    mailto:[email protected]?subject=Employee Application
    I removed the above mailto URL and put in your code as a Javascript function. I made sure that my field name matched the name in quotes within the code.
    I used the following:
    var subject = getField("lastname").value 
    this.mailDoc({
    bUI: false,
    cTo: "[email protected]",
    cSubject: subject,
    cMsg: "Type message here"
    Do you see anything obvious that I am doing wrong?
    Many thanks!

  • How to create a New form field button.

    Hi there.
    I have this form that allows the admin and or client to change their Business details and on that form there is a field (text) that they can fill out their product detail and price. I wanted to have a button to create another form field (to do the exact samething) to allow them to add more products.
    Is this possible with CF?
    Thanks in advanced.

    Javascript is what you want to use.

  • Gather information from form fields, sort into links for searching

    I have a PDF Acrobat form that I email to about 100 people, they return the completed forms to me and I put all the forms together into a single PDF.This removes the form fields, but leaves the form information that was filled out.
    I need to set up an easy way for people to navigate and search the forms by several criteria: a person's name, their country of origin, company name, and so forth. Other than manually creating links for each of these search criteria, is there a more efficient way?

    You can export the data form the PDF using the FormDataIntegration service.
    Once you have the data in xml format, you can use a setValue and concatenate the value of the two nodes you're interested in.
    Jasmin

  • How to assign an Auto created ticket from Printer supply level (My ticket Rules)

    The percentage sign my be what's messing with you - that is a common (nearly universal) variable symbol. The simplest way is to add a new ticket rule, that looks a bit like this:

    Here my goal: i want to auto assign with My Ticket Rules all the ticket auto created from Monitors & Alerts Printer Supply Level, 
    Printer Supply level config:
    condition: is < 2%
    Applies to: Printers
    Email: uncheck
    Ticket creation : Check
    Close Ticket : Check
    Enabled: check
    My ticket Rules config:
    From email,App,Portal: checked
    Match: any
    Rules :
    summary; 2%
    Description: This ticket was created automatically
    command #assign: [email protected] (that is an active user in spiceworks)
    not sure what i do wrong?  am using 7.4.000.70
    thanks for your assistance :) 
    This topic first appeared in the Spiceworks Community

  • Create dynamic directory name from form field on Sharepoint

    Trying to save pdf file to sharepoint site using URL; but need to create directory (initially) and filename dynamically. After directory created addtn'l files may populate dir, so need to check for directory exists; if so just copy files to dir based on field name. I'm able to save files to hard-coded location only, based on below.
    How to check and/or create dynamic directory base don field name?
    // folder level JavaScript to allow access to the identity object properties
    trustedIdentity = app.trustedFunction( function (sProperty)
    var iProperty = "";
    app.beginPriv();
    iProperty = identity[sProperty];
    app.endPriv();
    return iProperty;
    // folder level JavaScript to allow Save As population of file name
    mySaveAs = app.trustPropagatorFunction(function(myForm, path)
         app.beginPriv();
         var myForm = event.target;
         return rtn = myForm.saveAs(path);
         app.endPriv();
    myTrustFunct = app.trustedFunction(function(myForm, path)
         app.beginPriv();
         var vTest1 = event.target.xfa.resolveNode("topmostSubform[0].Page1[0].Test1[0]").rawValue.toString();
         var vTest2 = event.target.xfa.resolveNode("topmostSubform[0].Page1[0].Test2[0]").rawValue.toString();
         var vTest3 = event.target.xfa.resolveNode("topmostSubform[0].Page1[0].Test3[0]").rawValue.toString();
         var vTest4 = event.target.xfa.resolveNode("topmostSubform[0].Page1[0].Test4[0]").rawValue.toString();         
         var vpdf_url=location.href;location.href='http://mysite2010.com/documents
         var vPath = "/vpdf_url/" + vTest1 + Test2  + vTest3 + " .pdf";
              //console.println("vPath: " + vPath);
         var retn = mySaveAs(myForm, vPath);
         app.endPriv();
         return retn;

    Acrobat/Reader cannot create a directory. The directory needs to exist before Acrobat/Reader can save a PDF file to that directory.
    You could create a plug-in and use that plug-in to create the directory. The plug-in should also be able to determine if the directory exists or not.
    SharePoint can be tricky because it is not like most web sites. There is a special dash board that helps manage the different parts of SharePoint like list, folders, web parts, documents, etc so you may need to be aware of these features and adjust for them.
    For  folder level functions, I would not use any LiveCycle JavaScript variations. The folder level scripts are shared and accessible by Acrobat forms.

  • How to update session state from form field values without submitting page?

    Hi,
    I am new to Oracle APEX. I am using Oracle Apex 4.2 on Oracle 11g release 2. The problem is that when I am entering data on a form, when I enter a value in one field and move to the next field, how can I use the value of first field in the validation procedure of next field? I know that when we enter data in fields, the session state is not updated with these values until we submit the page... right... but I have seen that if there is a control of List box type, then Apex gives an option "Action When List changes" where we can choose option to update corresponding session state field with the value of list box item, without submitting the page.
    Now my questions is why this option is only available for List box items? why not for other item types like Text box, Check box,... ? can someone please help me with this?
    (the issue with update of session state depending on page submitting, is that we need a complete network round trip from client to server in order for it. However if we can update session state variables without submitting page, then we can avoid this network traffic).
    Any help will be greatly appreciated. Thanks in advance.

    Create a dynamic action on change and run a PL/SQL process there with the following code:
    BEGIN
       NULL;
    END;Page items to submit > your item.
    This will set the session state without submitting the form.
    Further examples here:
    http://apex.oracle.com/pls/apex/f?p=31517:229
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Create PDF from text fields in website

    Hi!
    Is it possible to hook up text fields in a website to a PDF document?
    I have a website developed in Dreamweaver/asp and I would like the ability to create
    a PDF based on values from different text fields (10-12).
    Today we first insert the values to a webpage and then insert the same values to a PDF
    made in Live Cycle, I'm thinking there have to be a way to automate this process.
    Regards,
    Christian

    Hi Christian,
    I am moving this over to our form gurus in hopes they can assist you!
    Regards, Stacy

Maybe you are looking for

  • Nexaweb Error Message in OIM 11.1.1.5

    Hi experts, I am using OIM 11.1.1.5. I am not able to open up the deployment manager export utility. It is giving Nexaweb Error Message. The Internet Explorer version is: 9

  • Packaging charge amount not appearing in miro

    Dear Friends, I am working on SAP 4.7, One material PO is made with a customized condition type Y004 (Packaging charge (%)) - 2% And freight 2%, and after GR it was found that separate line item is appearing for freight 2% as DCGR BUT same is not app

  • Typeface on webpages is not as sharp as it was with Internet Explorer.

    I'm using Windows XP. I recently switched my browser to Firefox (LOVED the easy download and simple homepage format and the clear Getting Started instructions!). However, I notice that the typeface or print of text is not as sharp in Firefox as it is

  • Love bestbuy, hate their credit card with Citibank

    On March 25, 2014 around 4:00 PM I went to a Best Buy store in Virginia to purchase a new LG washer and dryer. The employee who helped me compare washers was very knowledgeable and helped me make a great purchase. I decided I wanted to use Best Buy’s

  • Cumulated KeyFigure.

    Hi: Here is my question: The user enters a Year/Month. Then in the query i must show a KF with this values: - Cumulated from January to Month entered, Year-1 - Cumulated from January to Month entered, Year Lets say the user entered: June 2009 The KF