How to display a confirmation pop up message on a widget

Alessia Russo
Tera Expert

Hi everybody! 

I need to display a confirmation pop up in a SR when the user click on Submit. In the pop up it should say "Are you sure you want to continue?" and there should be 2 bottons as Continue or Cancel. So when they click on continue the sr is submit, if they click cancel the action is aborted and they rest in the page without having send the sr.

I need this pop up in a widget so somebody could help me?

Thanks.

 

6 REPLIES 6

AnimeshP_96
Tera Guru

@Alessia Russo  try it in your onsubmit client script.
could you try instead confirm("Are you sure you want to continue?");

alert("Are you sure you want to continue?") or prompt("Are you sure you want to continue?");

 

let me know if this works


Please accept the solution /mark this response as correct or helpful if it assisted you with your question.




Regards,
Animesh

@Alessia Russo 
did you try this or still facing issue on the query , if not then close this thread by accepting the solution if solved.


Please accept the solution /mark this response as correct or helpful if it assisted you with your question.




Regards,
Animesh