I currently using this javascript to timestamp a date field upon signing. However, I cannot also check the other box in the selection that will make fields read only. Therefore, what is the javascript command that sets fields to read only, and how would i add it to this script?
var f=this.getField("CURRENTDATE");{
f.value = (new Date()).toString();
AFDate_FormatEx("h:MM tt, mmm dd, yyyy");
}
(I've also removed the unnecessary curly brackets)
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com