Creating a date field that autogenerates when form is opened but the date is fixed upon signing.

Hi,
I have been creating a series of PDF forms on Adobe XI Pro that are designed to be filled in using Adobe Reader (hence are saved as Adobe Reader Extended). Once the form is complete there are signature fields that the user digitally signs which then deactivates specific form fields from further editing. Alongside the signature field I have got a date field which, at the moment, is using JavaScript to auto-generate the current date upon opening. However, the issue I am having is that I want this date field to be fixed when the form is signed, rather than updating again when the form is next opened. Is this possible?
The document JavaScript that I am currently using to generate the date is as follows:
this.getField("PR_Date1").value = util.printd("dd/mmm/yyyy", new Date());
But obviously this is independent of the date field.
I am very new to Adobe in general so I don't have much of an idea about how to go about doing this. Could somebody please help me to do this if it is possible?
Thank you
KC

Hélène-
Thanks for the detail regarding validation script, but I still am having a problem with it.
I have tried what you told me (remove reset the value) the popup no longer appears when the form is opened. But the validation does not seen to be working. It is not working either in the validate or exit event. This is what I have now on that text field.
----- form1.#subform[0].Y::exit - (JavaScript, client) ---------------------------------------------
//Verify year is current or year+1
var today = new Date();
var year = today.getFullYear();
if (this.rawValue == year || this.rawValue == year+1)
app.alert("Year is invalid.\n\nOnly current or next year is valid.");
----- form1.#subform[0].Y::validate - (JavaScript, client) -----------------------------------------
//Final verification
ScriptObject.ValidateField(event.target, this);
This final verification script I have taken from the samples on the
LiveCycle Developer Center (Validating field content in a form hosted in Adobe Acrobat).
The alert only displays when 2007 or 2008 is entered. I am really confused now. I thought I had a handle on this with your explanation.
I do not know where to go now. The Object Pallet is setup as:
Field Tab
Allow Plain Text Only and Limit Length are checked with a Max Chars: 4. Edit Pattern: 99999
Value Tab
Type: User Entered - Required
Validation Pattern: 9999
Validation Script Message is checked - in Message box Invalid Year.
Binding Tab
Default Binding: Normal
Data Format: Plain Text
I am hoping that you can explain what I have wrong.
Thanks so much,
Confused Nancy

Similar Messages

  • TS3579 I found this useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up

    I found this  (TS3579: If the wrong date or time is displayed in some apps on your Mac Learn about If the wrong date or time is displayed in some apps on your Mac) useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up in Finder. 

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • I need to create a folio field that increments itself everytime you open the acrobat form

    Hi, I have a very simple form with a some fields the user should capture.
    The first field is folio number, that should be filled automatically when the user opens the form, with the last used folio number plus 1.  The next number available.
    I have been reading a lot of documentation but don´t know how should I do this calculation so that if someone opens the form now he gets number 1, the next person gets number 2, and so on.
    There is so much information javascript, formcalc, xml, etc.
    Can someone tell me which should be the easiest and more efficient way do to this?
    Thanks a lot!

    Have never done that before, but here are my initial thoughts on the topic:
    Suggestions: (reader extension/acrobat required)
    1) Call an external data source
    2) If the PDF is in the same place/pc all the time and will only be used from there, make it call a local flat file
    3) Maybe use the Date/Time/User as your unique number (if it doesn't need to increment by 1, but just something unique and identifiable)
    4) If the PDF is in the same place/pc all the time and will only be used from there.... use Global Folder level script - create a global variable

  • Would like to create 'tabs' not 'app tabs'. When I do create a 'tab' or multiple 'tabs', when I re-open Foxfire, the 'tabs' are gone.

    Tabs created on the top line do not re-appear when Foxfire is reopened. I created 4 tabs. I used them. They work great. Then I close out of Foxfire. The next day I open Foxfire, and all 4 tabs are gone. How do I 'save' the 4 tabs so that they always appear when I open Foxfire?

    Based on the info above i think this article might help. </ br> [[Session Restore#w_configuring-session-restore]]

  • Apple id isnt right when I update apps but the settings says I am signed in as my apple id?

    I need to update my apps but when it pulls up the screen for me to put in my password it has my husbands apple id so i cant update my apps. But when i go into settings and go to itunes and app store it says that my apple id is signed in. How do I fix this?

    If you have apps on your phone obtained with your husbands ID, you will have to use his ID to update them, or you'll have to delete them from your phone.

  • XML Forms Builder: Sorting news based on a date field in a XML form

    Hi Experts
    I have a requirement and I am stuck up in finding a solution. I have a XML form and this has been mapped to a folder in KM. It publishes news. In the collection renderer settings there is an option to sort the news ascending or descending based on created/modified criteria.
    The requirement is to sort the news based on a date field in XML form. Can you experts help me in getting the solution for same?
    The users who post the news in our portal needs the information to be sorted based on a date field shown.
    Thank you
    Best regards
    Ramamoorthy D

    Hi Experts
    I have not got any solution for this issue. Can any of you get me some clue to work on this issue with sorting news based on a date field in a XML form?
    I removed the property link from the screen field Input field.
    Thank you
    Best Regards
    Ramamoorthy D

  • Is there a way to create a text field that shows on all slides?

    I'm trying to create a "Revised On" date field that can be shown on every slide. Or, do I just have to copy and paste on all slides?
    Thanks in advance.
    - Michael

    use the master slides
    view > show master slides
    click on the master slide that has a tick mark
    add a text box to master slide and any other objects that you want on every slide; enter text, then position, size and set colour
    click on the normal slide and add other content that is to be seen on that slide only
    adding new slides will use the background design

  • I designer I want to create forms for web client, does each client have to purchase form central to access the data?

    I designer I want to create forms for web client, does each client have to purchase form central to access the data?

    Hi,
    In this scenario, you can share the document with the clients to and provide co-author privileges.
    Co-authors can edit the form design, options, responses, and summary report (everything that you can do).
    Note:- They do not require a paid subscription to view the responses, free subscription users can become co-authors.
    Please refer to the following thread to know how to share a form with others:-How do I share a form I created with others?
    Regards,
    Nakul

  • Updating Date field that is set as read only

    I have a date field that I have set the "HTML Form Element Attributes" to "readonly = "TRUE" " I would like to have the option of clearing the value in the date box without a computation, I'd like it to be java based so that it is "on the fly" without having to refresh...
    I have an example that I use that works on POPUP LOV's ...
    "<"img src="/i/delete.gif" onClick="document.getElementById('#CURRENT_ITEM_NAME#_HIDDENVALUE').value='';document.getElementById('#CURRENT_ITEM_NAME#').value=''" ">"
    Both examples are used here .. http://htmldb.oracle.com/pls/otn/f?p=22240:2
    Any ideas?

    Just use the same technique that you use for popup lovs except just use #CURRENT_ITEM_NAME#, not #CURRENT_ITEM_NAME#_HIDDENVALUE
    See an example at http://htmldb.oracle.com/pls/otn/f?p=24317:91

  • I have downloaded and installed the latest version of numbers on my mac. Everytime I save and then try to reopen that document, I receive a message telling me that I need a new version of numbers. Also, when I try to sort the date column, it sorts out of

    I have downloaded and installed the latest version of numbers on my mac. Everytime I save and then try to reopen that document, I receive a message telling me that I need a new version of numbers. Also, when I try to sort the date column, it sorts out of order. The last version sorted fine.

    Welcome to Apple Support Communities
    When you install the new iWork version, the old iWork version is kept, so it looks like you are opening your old version.
    To fix this, open a Finder window, choose Applications in the sidebar and drag the new Numbers version to the Dock, so you can access to it quickly. Open all documents from this version. I don't recommend you to delete the old Numbers version in case you need it.
    Respecting to the second question, you will get better answers in the Numbers for OS X forum

  • I'm doing a scan around a line by sampling data 360 degrees for every value of z(z is the position on the line). So, that mean I have a double for-loop where I collect the data. The problem comes when I try to plot the data. How should I do?

    I'm doing a scan around a line by sampling data 360 degrees for every value of z(z is the position on the line). So, that mean I have a double for-loop where I collect the data. The problem comes when I try to plot the data. How should I do?

    Jonas,
    I think what you want is a 3D plot of a cylinder. I have attached an example using a parametric 3D plot.
    You will probably want to duplicate the points for the first theta value to close the cylinder. I'm not sure what properties of the graph can be manipulated to make it easier to see.
    Bruce
    Bruce Ammons
    Ammons Engineering
    Attachments:
    Cylinder_Plot_3D.vi ‏76 KB

  • Getting "Join in business component definition 'CG Opportunity My Accounts' has source fields that come from tables 'S_OPTY' and 'S_ORG_EXT'(SBL-DAT-00452)" error after upgradating to siebel Open UI 8.1.1.11

    Hello Team,
    We have upgraded from Siebel 8.1.1.3 to Siebel Open UI  8.1.1.11.
    But after up-gradation we are getting the below error in   "My Account Opportunity" View.
    We detected an Error which may have occurred for one or more of the following reasons:
    Join in business component definition 'CG Opportunity My Accounts' has source fields that come from tables 'S_OPTY' and 'S_ORG_EXT'(SBL-DAT-00452).
    Thanks,
    Tirupati Nanda
    Mob:-9742404115

    Hello Team,
    We have upgraded from Siebel 8.1.1.3 to Siebel Open UI  8.1.1.11.
    But after up-gradation we are getting the below error in   "My Account Opportunity" View.
    We detected an Error which may have occurred for one or more of the following reasons:
    Join in business component definition 'CG Opportunity My Accounts' has source fields that come from tables 'S_OPTY' and 'S_ORG_EXT'(SBL-DAT-00452).
    Thanks,
    Tirupati Nanda
    Mob:-9742404115

  • Exception Message: The form cannot connect to the data source. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    When opening a form in SharePoint 12013 that was created from Infopath 2013, I get the following error.
    You do not have permissions to access a database that contains data required for this form to function correctly.
    An entry has been added to the Windows event log of the server.
    Log ID:5566
    When I go to the log files on the SharePoint server. I see the following error.
    Exception Message: The form cannot connect to the data source. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
    I am guessing this has something to do with the UDCX connection and the database.
    Can anyone help me get this fixed?

    Hi Jim,
    Please check the following kb article when it occurs 5566errro with the UDCX conection file, try the method of using the Secure Store Service to store alternate credentials for the data connection method, or the method of stating the credentials
    in the UDC file explicitly.
    Also check if it could help with setting sql server as "SQL Server and Windows Authentication mode".
    http://support.microsoft.com/kb/981684
    Thanks
    Daniel Yang
    TechNet Community Support

  • How do I save a PDF as an excel file when the PDF is horizontal. Adobe tries to rotate the page, but the data is entered in an  horizontal format.

    How do I save a PDF as an excel file when the PDF is horizontal. Adobe tries to rotate the page, but the data is entered in an  horizontal format.

    Thanks for the quick reply.  I figured out how to get the desired results by using tagging.  For anyone who may reference this post in the future, I went to "Customize" in the top right corner of Adobe, then selected "Create new tool set...", looked under "accessiblity and found the "tag" option.  Hit ok, tag is added to the toolbar.  Then I highlighted the dataset in the PDF that was relevant to the output format, then clicked "tag", saved as spreadsheet.  Sorry I can't provide more details on how tagging works or if there's a more elegant solution available, but I'm sure one's out there.

  • Show stacked canvas when form is opened

    Hi,
    I'm working with forms 6i. My form has one multi-record block. Due to the amount of fields that need to be shown we split the block across 2 canvases, the first fields are shown in the primary canvas and next to it is something like an overflow, a stacked scrollable canvas.
    The form is opened in query mode. In the beginning we only see the items on the primary canvas. Only after the user has executed his query and navigates (with tab) to the first item on the stacked canvas this one is shown. From that moment on the stacked canvas stays visible.
    I want to change this behavior as such that the stacked canvas is visible all the time.
    I tried to solve this using show_view in the when-new-form-instance trigger but the result is not what it should be. The view is shown but not in the same way as you would see it when you properly navigate to it. The alignment is totally out of control.
    Any ideas, suggestions, are mostly appreciated.
    Kris

    Steve,
    To maybe make things a bit more strange then they're already.
      GO_ITEM('DEELNEMERS.DROOMPLOEG'); -- Item in stacked canvas
      SYNCHRONIZE;
      PAUSE;
      GO_ITEM('DEELNEMERS.CODE'); -- First item (on primary canvas)It works with above code but not without the pause.
    I'm really confused here :-),
    Kris

Maybe you are looking for

  • Will the CS5.5 Production Suite Run on Mavericks?

    I've looked around the internet for this, and results are hard to find and not really clear. I need to know if the CS5.5 Production Suite will run on OS X 10.9. It's essential that a number of these are compatible, the ones I use the most often: Illu

  • How do I change the order of my collections list?

    At the moment,  I have 12 different collections in my iBooks with more to come. How do I move around the collections - alphabetized, organize, etc - the collects with out having to remove all the books, delete and start again?

  • How to get installed application list from a remote system

    i am using.. an windows XP OS.. i want to collect the installed application list(in any accessible format) from my near by system(any system in the network). and need to invoke any application (from the list generated) from my system..... please help

  • Question on WRT310N mixed network use

    How well does the WRT310N work in a mixed use network? I am considering switching to this router as my current router(Nextgear Rangemax) will only work consistently if run at G speeds, not exactly what I was looking for when I spent the money for a f

  • Frustrating dependencies problem

    Hi everyone, I've got a problem with a large and undocumented portlet project I have taken over from another developer who has left suddenly. Don't worry - not looking for help with anything portal related - its more your traditonal java dependencies