Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 88739

Re: Javascript to validate fields in PDF form, then flatten and email using submit button but ability to reset form, making it editable again

$
0
0

Also, you should change the following part of the code above from this:

if ((f.type=="text" && f.value=="") || (f.type=="checkbox" && f.value=="Off"))

To:

if (f.valueAsString==f.defaultValue)


Viewing all articles
Browse latest Browse all 88739

Trending Articles



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