Good day all. I have written to following code on a signature field, that will only work if the user has an access to the building. It works fine, but if the question was true, and the user changes his/her mind to say No, it does not work. This code is on mousedown event. I would like to clear the signD which is a signature field whenever No button is selected. Here is the code:
var question = xfa.host.messageBox("If you have an Access ID Card to sign this field, please select Yes.
If not, please select No, complete the form, print, manually sign, and submit/send as appropriate.\
n\nYour digital signature has the same legal effect and consequences as a hand written signature.\n\n", "Question?", 3,2); if (question==3){
SignD.access="readOnly";
SignD.rawValue="";}elseif (question==2){
SignD.access="open";
xfa.host.setFocus(qDATE);}
Please I need help with thi script.
Thanks
v/r
Tammy