How to display a confirmation pop up message on a widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 12:38 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 01:17 AM - edited 05-08-2024 01:18 AM
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 04:19 AM
@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