Reset a dropdown menu to default in PDF form
I have a drop down field in a PDF form. When a user selects from the drop down, a popup window appears asking additional questions and those answers are inputted into another field. If they click cancel another window pops up asking if they're sure to cancel. If they click the YES button, I want the drop down field to revert back to the default selection.
I'm running two functions. One is in the drop down's custom validation window called (fSystemRequest) and the other is called (fExitPortalSelect) that is running inside the (fSystemRequest) function. So if they select YES or try to "X" out of the window, the (fExitPortalSelect) function is ran. Here's the (fExitPortalFunction) code I have:
function fExitPortalSelect() {
var vQuitPortalSelect = app.alert("Are you sure you want to quit?\n\nYou will not be able to gain access to the network until you answer these questions.\n\nClick 'Yes' to quit or 'No' to continue filling in the information required.",2,2);
if(vQuitPortalSelect == "4") {
this.getField("13: Justification").value = "";
this.getField("System Name").reset = "Select from the dropdown menu";
response.end;
}
}
The line that's bold is the one I'm working on. I've tried several different ways. Please help...
