How do you lock a submittable form date?

Help!
I'm at my wits end. I need my XFDFs to preserve the date the form was submitted, but I'm having no luck. I'm using this script:
var f = this.getField("form_date");
f.value =
util.printd("mm/dd/yyyy", new
Date ());
This script works on one submittable form our customers complete in a browser, but no matter what I do when I add it to other submittable forms (Acrobat PDF 9 Pro; not LiveCycle), it doesn't work.
I've tried variations of this script in the form_date field and Page Open action, but it either freezes one date in the form forever, or when the XFDFs open they open with today's date.
My AcroForm PDFs are password secured. They can be filled and submitted, but not copied. They can be printed once filled, but not to PDF. Each PDF has an accompanying Admin PDF and MMT file that allows the submitted XFDFs to open as a filled PDF when in the same folder as the XFDF. 
I'm not a programmer - I've inherited these forms and am learning as I go, so any advice you can give me will be much appreciated. I'm desperate for a solution as soon as possible.
Thank you so much!

Normally, that code would be placed in a location so that it executes when the form is opened. It can be placed in a document-level JavaScript (outside of a function definition) or in the initial page's Page Open event.
When you receive the XFDF and want to populate a blank form, it should be a revised version that does not include this bit of code so that the date from the XFDF isn't overwritten by the script.

Similar Messages

  • How do you make sure the form data prints (commercial offset printing)?

    We are commercial printers and have been using a PDF workflow for quite a while now. We recently received a PDF form to print but any information filled in the form just dropped out (all non-data printed fine). When we send it to a laser printer, everything is there but when it goes through the RIP and imposition software (both Heidelberg), all the data is missing.
    When I open the PDF from the client, I am not able to change or even highlight the data. There is a message saying the information is locked.
    We were able to get around the problem by importing the PDF into InDesign and making a new PDF from that but that seems to be an extra step that coulb be avoided.
    Anyone else with a similar problem (and solution)?

    How can you tell that it is an XFA form? If I can identify the form type from when I get jobs like this, I can use the workaround from the beginning.
    Here are a few more screen shots of things that are happening:
    When I try to Print to a PDF:
    When I use the Mac "Save to Adobe PDF" in the print dialog:
    I get this message often:
    and when I try to embed the missing font (PitStop), I get this:
    The only thing that has worked so far is placing the PDF in InDesign and Exporting to a new PDF from there. I guess this is making the flattened PDF that you talked about.

  • How can you save an app's data?

    Hi, how can you save an app's data? For example, if I want to switch some applications on my iPod with those were on my iTunes Apps Library, iTunes will force to remove the apps that was on my device and sync the apps that I want onto my iPod. But once the app is removed from my iPod, its data will be erased too, so, for example months later, I want to put them back onto my iPod, I will lose all the apps data and games progress. So, I just want to know the way that people save their apps data.

    Yo can't. apps are locked to the account thatpurchased them and in-app purchases can only be mad with the account that originally purchased the app.
    You will have to recover use of the first account
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    If necessary:
    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions
    If you have not uses any of the $10 you redeemed to the new account, you can likely get that refunded by contacting iTunes
    Contact iTunes

  • How do you construct a web form using coldfusion??

    How do you construct a web form using coldfusion?? any
    examples?
    thanks in adv.

    A sample Form:
    <cfform action="CCARProc.cfm"
    enctype="multipart/form-data" method="post" name="CCAR"
    onsubmit="return verify()">
    <table width="730" border="0" cellpadding="2"
    cellspacing="1" align="center" class="unnamed1">
    <!--DWLayoutTable-->
    <tr valign="top">
    <td colspan="3" bgcolor="#F2F2F2">Name Of
    Requester(<font color="red">*</font>)</td>
    <td width="402" bgcolor="#F2F2F2"><cfinput
    type="text" name="Requestor_Name" size="15" value="#REQNAME#"
    maxlength="25" >
     MTABT Email(<font
    color="red">*</font>) 
    <cfinput name="Req_Email" type="text" size="8"
    maxlength="20" value="#ReqEmail#"
    >@mtabt.org</td></tr>
    <tr>
    <td colspan="3">Requester Telephone #(<font
    color="red">*</font>) </td>
    <td><cfinput type="text" VALUE="#REQPHONE#"
    name="RPhone" size="12" maxlength="12" message="Requester Phone
    cannot be blank / Invalid Entry!" required="yes"
    validate="telephone"> [e.g. xxx xxx xxxx or
    xxx-xxx-xxxx]</td>
    </tr>
    <tr>
    <td colspan="3" bgcolor="#F2F2F2">Facility(<font
    color="red">*</font>)</td>
    <td bgcolor="#F2F2F2">
    <cfselect name="Facil">
    <option value="2B">2B </option>
    <option value="BBT">BBT </option>
    <option value="BW">BW </option>
    <option value="CB">CB </option>
    <option value="HH">HH </option>
    <option value="MP">MP </option>
    <option value="QMT">QMT </option>
    <option value="RI">RI </option>
    <option value="TM">TM </option>
    <option value="TB">TB </option>
    <option value="TN">TN </option>
    <option value="VN">VN </option>
    </cfselect>
    </td>
    </tr>
    <tr>
    <td colspan="3">Department(<font
    color="red">*</font>)</td>
    <td><cfselect name="Dept">
    <option value="Contracts">Contracts </option>
    <option value="Engineering">Engineering
    </option>
    <option value="Executive Office">Executive
    Office</option>
    <option value="Finance">Finance </option>
    <option value="General Counsel">General Counsel
    </option>
    <option value="HS">HS </option>
    <option value="HR">HR </option>
    <option value="ISD">ISD</option>
    <option value="Legal">Legal </option>
    <option value="Labor Relations">Labor Relations
    </option>
    <option value="Operations">Operations </option>
    <option value="Payroll">Payroll </option>
    <option value="Planning & Budget">Planning &
    Budget </option>
    <option value="Procurement & Mtrl">Procurement
    & Mtrl </option>
    <option value="Purchasing">Purchasing </option>
    <option value="Revenue Management">Revenue Management
    </option>
    <option value="Staff Services">Staff Services
    </option>
    <option value="SD">SD</option>
    <option value="Technology">Technology</option>
    </cfselect></td>
    </tr>
    <tr>
    <td colspan="3" bgcolor="#F2F2F2">Division(<font
    color="red">*</font>)</td>
    <td bgcolor="#F2F2F2"><cfinput name="Div"
    type="text" size="20" maxlength="25" VALUE=""></td>
    </tr>
    <tr valign="top">
    <td height="27" colspan="3" >Justification(<font
    color="red">*</font>)</td>
    <td bgcolor=""><textarea name="Justi" cols="50"
    rows="3" wrap="VIRTUAL" ></textarea> </td>
    </tr>
    <tr>
    <td colspan="3" bgcolor="#F2F2F2">VP Approval
    By (<font color="red">*</font>)</td>
    <td bgcolor="#F2F2F2"><cfinput name="VPAppFName"
    type="text" size="20" maxlength="25" VALUE="#VPFName#">
         MTABT
    Email(<font color="red">*</font>) 
    <cfinput name="VPE" type="text" size="8" maxlength="20"
    value="#VPEmail#" >@mtabt.org</td>
    </tr>
    <tr>
    <td colspan="3" valign="top"
    bgcolor="#F2F2F2"></td>
    <td colspan="2" rowspan="2" valign="top"
    bgcolor="#F2F2F2"><div align="left">
    <input name="Submit" type="submit" value="SubmitTheForm"
    class="button"
    style="font-size='10pt';color='#663399';font-face='Arial,
    Helvetica, sans-serif';" >
    <input name="Reset" type="reset" value="ReSetTheForm"
    class="button"
    style="font-size='10pt';color='#663399';font-face='Arial,
    Helvetica, sans-serif';">
    </div></td>
    <td width="90" valign="top"
    bgcolor="#F2F2F2"></td>
    </tr>
    </table>
    <div align="right"><span class="style4">Revised(
    01.28.05 )</span>
    <input name="submitDate" type="hidden"
    value="<cfoutput>#DateFormat(Now(),'mm/dd/yy')#</cfoutput>">
    </div>
    </cfform>

  • How do you fill in a form that was saved as a template? When I try, the "template" shifts, which is not how a template should work!

    How do you fill in a form that was saved as a template? When I try, the "template" shifts, which is not how a template should work!
    Templates, as I understand them, are fixed; you can "fill them in" without shifting them. Yet, I've saved doc as a template AND it shifts. Argh!

    Thanks for your response.
    I've managed to fix it but I wouldn't recommend the following as I'm sure its unsupported and I'll probably have problems down the line
    On the host
    * mv /etc/zones /etc/zones.bak
    * reboot single user
    * apply kernel patch (the one that ultimately I had to get on and which was giving pre-req dependency errors when running zones)
    * create a new zone now that host system is all up to date
    * Copy the operating system directories of the new zone (the one that's all patched) over the troublesome zone (the one that can't take the patch). Take backups first
    * cd /zones/new-zone/root
    * find sbin -print | cpio -pudm /zones/bad-zone/root
    * find usr -print | cpio -pudm /zones/bad-zone/root
    * find lib -print | cpio -pudm /zones/bad-zone/root
    * cd /zones/new-zone/root/var
    * find sadm -print | cpio -pudm /zones/bad-zone/root/sadm (this copies patches and pkgs directories and I'm sure a lot of other stuff that I didn't want)
    * mv /etc/zones.bak /etc/zones
    * reboot host
    * boot the old zone up. It should now have up to date patches
    I'm sure there are real no-no's in taking this approach but it seems to have worked for me. I'll update if I find there are some horrors down the line
    Edited by: paul_xedos on Mar 25, 2010 4:07 AM

  • How do you lock the screen on iphone 4?

    How do you lock the screen on iphone 4 while on a call? I mute calls, activate face time and I have even called someone by accident during a call. I know there has to be a way to fix this. Please HELP!

    It locks automatically when you hold it to your head.
    If it fails to do this, then remove the case and see if it solves it.
    If it does not, then do the basics - restart, reset, restore.
    If that does not solve it, then make an appointment at the genius bar.

  • How do you type on a form in Adobe reader

    How do you type on a form in Adobe reader

    Could you describe what you are trying to do?  Are you trying to fill in form fields?
    When you open your PDF form in Reader, do you see light blue highlighting over form fields like this?

  • How do you type in Adobe forms

    How do you type in Adobe forms without converting them.
    Several times I was on an Adobe page where one could click on a tab to do just that and now I cannot remember how I got there.
    Please help if you can.
    [contact information removed by moderator for privacy]

    David,
    Thank you so very much for your timely reply.
    I have Adobe Acrobat installed on all six of my offices computers and found it very simple to do as you instructed.
    Thank you once again.
    Bruce Goldsmith 
    [contact information removed by moderator for privacy]

  • How do you lock individule cells in numbers on ipad

    how do you lock individule cells in numbers on ipad

    Wayne, are you sure its iOS numbers that can lock the table? If so, could you please show me how? Havent figured it out yet.
    Thanks
    Jason

  • How can you sort photos by descending date in Photos?

    how can you sort photos by descending date in Photos?

    There is no way to do that.
    http://www.apple.com/feedback/macosx.html
    Let Apple know your requirements.

  • How do you get Raw images form a Canon 60D to open up on Photoshop Elements 9!

    How do you get Raw images form a Canon 60D to open up on Photoshop Elements 9! I tried downloading the Adobe Camera Raw 6.2 update and Elements is not recognizing the file to install!

    Go to Help>Updates in the editor and do it that way instead.

  • How do you lock wi fi on your laptop?

    How do you lock wi fi on your laptop?

    If you mean the lock next to the signal strength in the pulldown menu that appears when you click on the wifi icon on the toolbar, that lock means that the network is secure.  The way to get it is to connect to a secure network, one that requires a password. If you are connected to your home network and you don't see that lock, it means anyone can connect to your wireless router.  Not a very secure setup.  Read though your router manual to find out how to set up a secure network.

  • How do you lock a PDF file so that the user cannot create or delete bookmarks?

    How do you lock a PDF file so that the user cannot create or delete bookmarks?
    Thanks!

    There's no way to lock bookmarks specifically, but if you you can apply a
    security policy to prevent editing the PDF in general.

  • How do you lock the menu bar so it does not disappear as the cursor is moved around?

    How do you lock the menu bar so it does not disappear as the cursor is moved?

    No.... you need a different cover

  • Where is lock button, how do you lock what is playing?

    where is lock button, how do you lock what is playing?

    If you mean you want to repeat the same song, the Shuffle cannot do that.

Maybe you are looking for

  • SQL Error in the modify statement

    Hi All, We are facing an SQL error while uploading an archive file. The error is    caused while executing a modify statement which leads to a dump. The        text given in the SM21 logs is                                    'Database error -1 with

  • My images in my welcome page are different when viewed on the internet!

    My images in my welcome template are different when viewed on the internet! After a while they don't change anymore. Isn't this so basic....?

  • Album Name Viewing

    I'd like to know if there is a simple way to view Albums by the Album Name as it appears on itunes and not sub-catergorized into the Artists within them. For example, I have created my own Album which has single tracks from various artists, but are a

  • Financial Reporting Chart - Waterfall or Step Chart or 2 Y-Axis chart?

    Using Hyperion Financial Reports 9.3.1.2 - How do you create a waterfall or step chart using a stacked bar chart in FR chart? I have created a waterfall or step chart as a stacked bar chart in Excel which shows the Budget figure on the left and the A

  • Why I-tunes doesn't accept master card ?

    I'm unable to BUY anything !!!