Hello,
Below code will help you to show a pop up confirmation dialog.
boolean confirmButton;
confirmButton = Box::confirm("Are you sure want to confirm?", "Confirmation", "Once Confirmed, record can not be edited!");
if(confirmButton == true)
{
info("Confirmed");
}
else
{
info("Not Confirmed");
}
Thank you,
No comments:
Post a Comment