app.response with argument based on user's input
based on this tutorial: https://acrobatusers.com/tutorials/popup_windows_part2 ,
i would like to use a button where a pop-up response box appears where it ask for a password before Submitting the form.
var cRtn = app.response ({ cQuestion:"Enter the password to Submit this form:", bPassword:true, cDefault: "test", cLabel:"Password"});
if(cRtn && cRtn.length) {
// Code to submit form
} else app.alert("incorrect password");
i haven't used app.response yet, so I don't know the work around for this one.
Thanks in advance
