I put a confirm alert on the complete button of a form, so as not to let it complete the task if I wish, but even clicking the cancel button of confirm it completes the task, what should I do?
to call confirm dialog i use this script
camForm.on ('submit',function () {
confirm("texte here");
})