Hello,
Have a working smart form which includes a catalog of services and prices that will be updated at least twice a year. Users can download this form directly from a website, receive it as an email attachment, etc.
This smart form lets people obtain quotes, select services, then order them by pressing "submit" on the Form created using Acrobat X's distribute function and acrobat.com
Since lots of these older 2011 forms will be "in-the-wild" after the prices have expired and a new H1-2012 smart-form is made available, I'd like to find a simple way (Without LifecCycle Server) to notify those who try to open the old 2011 form in January 2012, that the 2011 form is out-of-date, and of the availability and location of the current 2012 version.
Because these SmartForms can submit data, I'm also intrigued with whether (based on the date the form is opened) whether (and how) I might shut the form's submission capability completely off so orders with obsolete prices never make it into our backend system.
Any suggestions on how to do this would be welcome.
if (new Date().getFullYear()<2012) {
app.alert("This is an older form! You can download the new one at: ... ",3);
}
However, be aware that you can't use this to prevent the user from opening, viewing or filling-in the form.
The user will always be able to disable JS, or change their local time or any number of things to get over this.
You can use something similar with your submit button, if you submit using a script:
if (new Date().getFullYear()<2012) {
app.alert("This is an older form! You can't submit it anymore.",3);
} else {
this.submitForm();
}
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com