Pause form submission
Content
Hi,
I have a business requirement that after form validation has been done and the normal tests have been passed to pop up a modal box if a date field is in a particular range. I want this to pause the form submission and if the submitter clicks 'yes I want to continue' go ahead with normal form submission and if they cancel just stop there.
The approach I have taken is to extend the DateInput and update the validateValue() method to do the test and if required pop the modal. However the form just continues to submit anyway. I can stop the submission by returning false but that isn't what I want. I considered doing that then restarting the submission but I don't know if that is possible.
1