-
1. Re: Form submitting even though required fields are empty
Penguin24 Oct 8, 2014 1:25 PM (in response to Penguin24)I have found that if I have a radio button on my screen that mandatory fields below that button is not being validated. If I move the mandatory field above that button it works fine. Any ideas why the radio button is causing this problem?
-
2. Re: Form submitting even though required fields are empty
Magus069 Oct 9, 2014 7:35 AM (in response to Penguin24)Hio there,
I must say that this is weird... I could take a look at your form if you'd like and see if I can do something about it..
Anyhow, if you don't want to waste your time with Adobe Validation I have created a snippet code which validates any form and is really flexible to use and easy to manipulate for specific validation.
Validation / Reset Functions, easy to manipulate and to change Forms!!!!
Take a look if you want.
-
3. Re: Form submitting even though required fields are empty
Penguin24 Oct 15, 2014 10:28 AM (in response to Magus069)I have created a simple form that just has a radio button and a mandatory text field. If I put the text field above the radio button the form works fine and if I don't enter data into the mandatory field the dialog box pops up saying "At least one required field is empty", however, if I put the text field below the radio button the form submits without validating that field. I could send you this form if you like, but that is really all that is on it. Do you have an email I can send it to?
Thanks
-
4. Re: Form submitting even though required fields are empty
Penguin24 Oct 20, 2014 8:11 AM (in response to Penguin24)Magus069 I decided to just write my own validation, I was just unable to get the mandatory fields to work correctly, thanks for the advice.
-
5. Re: Form submitting even though required fields are empty
kgetch Nov 4, 2014 11:56 AM (in response to Penguin24)I experienced a similar issue with one of my forms but my issue was my code associated with my submit button. I had validation script and a script to email the form as xml in the same event.
I added a hidden button to hold the submit script and kept the validation on the visible button. If validation passes, it "clicks" the hidden button. If not, focus set on the first empty manadatory field.


