Regarding multiple button on alert popup message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 11:29 PM
Hi All,
I have received a requirement to build an alert popup message on incident form when user click on Change button. The popup needs to have confirmation buttons -'Yes' and 'No' .
On click of ‘Yes' or 'No' different script include trigger, respectively.
Has anyone implemented such confirmation box before?
Please let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2023 01:10 AM
Hello @himanshu4961
You need to write a Client script into the UI Action of Change Button.
var answer = confirm("Do you want to proceed");
if (!answer)
{
//no
}
else{
// yes
}
Plz mark my solution as Accept, If you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2023 04:26 AM
Hello @Samaksh Wani ,
Thankyou for the help, But i need two more button on pop message yes or no. Based on these button i need to call script include.