Answered
Hi there,
I'm new to forms with Acrobat Pro and I'd like to script a validation on a date which only accepts introduced_date > (current_Date +10_days).
Format is dd/mm/yyyy
I tried with :
var d1 = new Date();
var d2 = getField("Evénement_date").value;
if ((d2 - d1) < 10 )
{
app.alert("Error");
}
but it does not work :(
Thanks in advance for any help
There is a seires of tutorials on date and time calculations on this site.
George Kaiser