Scripts not working right


hi all,

 

i having problem following script, , not know why not working. on printing of form message should display. part works fine. however, if "yes" selected message box text called maskedfld1 should become visible, else if "no" textfield call ssn should become visible. part not work. here code:

 

 

on preprint event:        xfa.host.messagebox("are printing send hard copy?", "question?", 3,2)   if(xfa.host.response==3){   maskedfld1.presence="visible";   ssn.presence="invisible";  }  else if(xfa.host.response==2){   ssn.presence="visible";   maskedfld1.presence="invisible";  }      think xfa.host.response may wrong thing use response yes, , no messagebox, not know use there. need this.       v/r    tammy   

are saving document dynamic document?



More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account