Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Clearing Signature field

$
0
0

Good morning all. I am trying to get a signature field, "COUNSELING_DATE_INITIAL5", cleared when No is selected. Below is the javascript I have written, but it is not working.

 

  
var   question = xfa.host.messageBox("If you have an Entry Card to digitally sign this field, 
 please select Yes. If not, please select No, complete the form, print, manually signe.\n\n", "Question?", 3,2);      if (question==3){  form1.Page1.COUNSELING_DATE_INITIAL5.access ="readOnly";  form1.Page1.COUNSELING_DATE_INITIAL5.rawValue="";    xfa.event.reset("form1.Page1.COUNSELING_DATE_INITIAL5");}  if (question==2){    form1.Page1.COUNSELING_DATE_INITIAL5.access ="open";  xfa.host.setFocus("form1.Page1.COUNSELING_DATE_INITIAL6");  }                

Please, I need help with the clearing part of the signature script that deals with the signature field.

 

Thanks

 

v/r

 

Tammy


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>