I want to script an if statement that runs when the user enters the signature field. It will check if textfield1 is null. If textfield1 is null, a message tells the user to complete textfield1 and the signature dialog box is cancelled/stopped from appearing.
I have all the script except how to cancel the signature dialog from appearing.
Solved! Go to Solution.
Views
Replies
Total Likes
Please try below script on mouseEnter event of signature field.
if(TextField1.rawValue== null)
{
xfa.host.messageBox("Please fill the previous value");
this.access = "readOnly";
}
else{
this.access = "open";
}
another:
if(TextField1.rawValue!= null)
{
this.access = "open";
}
Views
Replies
Total Likes
Please try below script on mouseEnter event of signature field.
if(TextField1.rawValue== null)
{
xfa.host.messageBox("Please fill the previous value");
this.access = "readOnly";
}
else{
this.access = "open";
}
another:
if(TextField1.rawValue!= null)
{
this.access = "open";
}
Views
Replies
Total Likes
That works good - thanks
Views
Replies
Total Likes