Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

Date Field YYYY only and validation message.

$
0
0

I have a date field "Policy Term" formatted as MM/DD/YYYY. And another text field "Year Built" no format.

 

I need to write a script for this scenario.

If the "Year Built" > the "Policy Term" (YYYY format) date field, it will give a validation message " " then "xfa.host.setFocus(this)" to the Year Built field.


Viewing all articles
Browse latest Browse all 1160

Trending Articles



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