I was wondering if anyone knew how to create an if statement that would link a text field in a form so that unless a name was typed into a particular field a signature bar would not appear. I am trying to create a form that can be generally used so that all users can have access to it and not continue to recreate a form everytime someone needs to add a signature section or the user who needs to sign changes. Any info will be a big help. Thanks.
This one will make the signature field visible only when the text field is not empty. (On blur only works after another place on the form is clicked.)
var f = this.getField("Signature")
//if the value of this field is not empty
if(this.value != " ")
{
//the signature field will be made visible (not hidden)
f.hidden = false
}