Regarding multiple button on alert popup message

himanshu4961
Tera Contributor

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.

2 REPLIES 2

Samaksh Wani
Giga Sage
Giga Sage

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

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.