Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

javascript if statement

$
0
0

Hello,

 

I am not good at javascript so I got this button "Save as..." and a javascript messagebox comes up asking if they secure the document before save it:

 

xfa.host.messageBox("WARNING", "Did you secure the document prior saving it?", 3, 2);

 

If they say 3 (yes), the javascript code should be apply: app.execMenuItem("SaveAs");

 

If 2 (no), go back to the document. Anyone can help?

 

Thanks!


Viewing all articles
Browse latest Browse all 1160

Trending Articles



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