I am working on PDF Forms. I want to put some validations and enable/disable a text firled code using Javascript. Can anybody please help me with it. <div><br></div><div>the code that I used to make it a required field in Javascript editor is:</div>
<div><br></div><div>var a = this.getField("firstName");</div><div>a.required = true;</div><div><br></div><div>and for Disbaling / enabing the text field i have used<br clear="all"><div>var f = this.getField("p_ID");</div>
<div>f.display = f.hidden;</div><div><br></div><div>Please help me with it</div>-- <br><blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex">
<p style="text-align:left"> <strong>Regards,<br><br> Ali Qazi</strong></p></blockquote><br>
</div>