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

Alert Message with Yes/No

$
0
0

I need the "No" button to cancel the removal of the subform.

 

The Yes button works, here is my script:

 

 

_Subform1.removeInstance(Subform1.count
- 1);

// Prompt the user 

var nResponse =
xfa.host.messageBox("You are about to remove a program. \n\nDo you
want to continue?", "Removing a
program?", 2, 2) 

 

// Test the response: Yes = 4 

if (nResponse == 4)

}

 


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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