rw1
Moderator
hello,
i have a form module, loading in a pop up modal window for a multipage form.
so there are about 5 pages with about 4 fields on each page.
i started the process of adding validations to the fields.
the first field is a dropdown field.
i added the validation 'not empty' to the field and if i click 'submit' without selecting anything, the modal window closes (or more precisely the whole page is reloading), then when i open the modal window again, the field label is red with a '!' icon next to it, with the error message visible when hovering over the '!'.
so i guess, issue one is how to stop the modal window from closing when clicking submit, and issue two is - is that how the 'not empty' validation is meant to appear?
thanks!
i have a form module, loading in a pop up modal window for a multipage form.
so there are about 5 pages with about 4 fields on each page.
i started the process of adding validations to the fields.
the first field is a dropdown field.
i added the validation 'not empty' to the field and if i click 'submit' without selecting anything, the modal window closes (or more precisely the whole page is reloading), then when i open the modal window again, the field label is red with a '!' icon next to it, with the error message visible when hovering over the '!'.
so i guess, issue one is how to stop the modal window from closing when clicking submit, and issue two is - is that how the 'not empty' validation is meant to appear?
thanks!