Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Limit Date Fields to Only Allow Past or Future Dates?

$
0
0

Hi,

 

I am using LiveCycle ES3.  My request is simple.  I have multiple date fields throughout my form.  Some date fields should only allow past dates; Some date fields should only allow future dates.  When an invalid date is entered, the date should be rejected, the field remain required, and an error message pop up, saying "This date cannot be in the future" or "This date cannot be in the past", depending on which field it is. 

 

As a note, I used the exact script from the demo file "Highlighting Required Fields", however I discovered that this script is overly complicated and even worse still it is incorrect.

 

Any help would be greatly appreciated.

 

Thank you.


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>