67 Posts
Mario Adrian
8 years ago
4
Topic

Hello

is it possible to add in a javascript confirm to button_submit in the form? so if user submit the form it will ask for confirmation before proceeding. i tried to add it myself however the cancel button in confirm popup box doesnt stop the form from submitting, i have tried various method however none of them seems stopping the form

i've tried from onclick to submit triggers yet it still continue the submission process, any suggestion what should i do?

thanks

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
2
Level 1
67 Posts
Mario Adrian
8 years ago
0
Level 2

Hello

i have bought the plugin, how to use it? any link to the documentation?

Thank You

67 Posts
Mario Adrian
8 years ago
0
Level 2

Hello

i want it to run a script/AJAX when submitting form, in my case to validate when user edit their profile whether the password they entered are new password or old password, if the script detected that are using new password then it will ask them whether they are sure they want to use a new password

Thank You

4229 Posts
Kadministrator
8 years ago
0
Level 1

Hi,

please see

https://www.seblod.com/resources/extensions/plug-ins/window-box-validation

If you use function action, you will need to write this javascript functions yourself.

Get a Book for SEBLOD