Pre submit confirmation

I want to implement a custom alert box (maybe using sweetalert(or any other method)) where when the submit button is clicked a popup box will ask are you sure you want to submit, and the form will only submit if clicked yes, otherwise it will cancel.

Pls help out with codes :pray: Im a beginner in JS.
Thank you :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.