My form has several fields which need to be validated, and the only event in which it makes sense to do the validation is the Enter event of the Signature Field. But if the validation fails I don't know how to terminate the signature process. It keeps going after the validation script. I don't want to rely on the user hitting Cancel. Is there a method to terminate the signature process? Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
There is a cancelAction method which you can use with a preSign event.
You could validation script in the preSign event and then if this fails you could use:
Reference_Syntax.cancelAction = true;
I would also include an app.alert to notify the user why the signing has failed.
This was implemented in XFA2.8, which means that it is likely that it will only work in Acrobat / Reader version 9. This might be a limit to you.
I haven't used this, so you should check out the help file.
Good luck,
Niall
Views
Replies
Total Likes
Hi,
There is a cancelAction method which you can use with a preSign event.
You could validation script in the preSign event and then if this fails you could use:
Reference_Syntax.cancelAction = true;
I would also include an app.alert to notify the user why the signing has failed.
This was implemented in XFA2.8, which means that it is likely that it will only work in Acrobat / Reader version 9. This might be a limit to you.
I haven't used this, so you should check out the help file.
Good luck,
Niall
Views
Replies
Total Likes
Thanks Niall, I'll give this a try. It sounds like it will work well, especially since our corporate standard is Acrobat / Reader 9.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies