Warning popup message in the form

Kri
Tera Guru

While submitting the form I need show a Warning popup message with 'Cancel' & 'OK' button like below

Krishna124_0-1687182301125.png

 

1 ACCEPTED SOLUTION

Manmohan K
Tera Sage

Hi @Kri 

 

You can use below code to get a pop up with cancel and ok button in on submit client script - 

var usrResponse = confirm('Are you sure you want to transfer this request to incident?');

  if (usrResponse == 'false') {
     return false; //Abort submission

} else
{
return true;
}

 

View solution in original post

1 REPLY 1

Manmohan K
Tera Sage

Hi @Kri 

 

You can use below code to get a pop up with cancel and ok button in on submit client script - 

var usrResponse = confirm('Are you sure you want to transfer this request to incident?');

  if (usrResponse == 'false') {
     return false; //Abort submission

} else
{
return true;
}