Form fields not validating

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
JohnR
 
 
Posts: 62
Joined: Sat Mar 03, 2018 11:44 pm

Form fields not validating

Post by JohnR »

I have a form www.ridgley.ca/mlic.php which contains a number of fields. Problem I'm encountering is you can click the Submit button with the form full of blank fields. I know I must have missed something - just wondering what???
http://www.ridgley.ca/mlic.php
Last edited by JohnR on Mon Jun 27, 2022 6:29 pm, edited 3 times in total.
User avatar
Pablo
 
Posts: 22503
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form fields not validating

Post by Pablo »

Why did you use 'a'? That is not a valid number :?
This must be a numeric value.
JohnR
 
 
Posts: 62
Joined: Sat Mar 03, 2018 11:44 pm

Re: Form fields not validating

Post by JohnR »

I changed all the minimums to 2 and tried the form again. Same problem. The Submit button appears when you enter the email field at the end of the form. I can click the Submit and it sends a form full of empty fields.
User avatar
Pablo
 
Posts: 22503
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form fields not validating

Post by Pablo »

I cannot see what you have done based on the published page.
But the error console of the browser indicates that there is an issue in the settings of TextArea7

If you need further assistance the please share a DEMO project, because I need to see your settings to be able to help you:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
JohnR
 
 
Posts: 62
Joined: Sat Mar 03, 2018 11:44 pm

Re: Form fields not validating

Post by JohnR »

Project uploaded to ridgley.ca Project name - MarriageForm.wbs
User avatar
Pablo
 
Posts: 22503
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form fields not validating

Post by Pablo »

Can you please give a direct link to the file?
JohnR
 
 
Posts: 62
Joined: Sat Mar 03, 2018 11:44 pm

Re: Form fields not validating

Post by JohnR »

www.ridgley.ca/MarriageForm.wbs
or you can go to http://www.ridgley.ca/mlic.php and click on the 'Link to wbs'.
User avatar
Pablo
 
Posts: 22503
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form fields not validating

Post by Pablo »

In TextArea7, you have set the data type to 'custom', but you did not enter a valid regular expression. This make the entire validation invalid.

When implementing validation, I suggest to do one thing at a time. Then if something does not work then you at least know where to look for the error.
With so many input fields it is very time consuming for me to check for invalid settings.

Also, I recommend to use edit-boxes, instead of text area. A text area is for multi-line input.
Post Reply