Editbox Validation (not) - What am I missing?
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
Editbox Validation (not) - What am I missing?
Creating a form in WWB14 is dead simple. Validation not so much. I've created a new page in my project containing a simple one Editbox form
with a submit button to try and discover why I'm having so much trouble.
I'm using the built-in form processor. The Editbox type is text. I intend to use a 6 character word to validate the fact that a human is filling the form so Max length is 6. For validation I've selected Info bubble. Data type is text. Data required is checked with a min and max of 6. There is nothing to match to except the label which I do not want to do. Text format is letters.
I see nowhere under the validate tab with a data type of text to tell the script what 6 character word to expect so I'm not surprised it isn't quite working. Otherwise the form works fine. What am I missing?
Here's the page for my validation test: https://www.spyderridersofba.org/validation_test.php
with a submit button to try and discover why I'm having so much trouble.
I'm using the built-in form processor. The Editbox type is text. I intend to use a 6 character word to validate the fact that a human is filling the form so Max length is 6. For validation I've selected Info bubble. Data type is text. Data required is checked with a min and max of 6. There is nothing to match to except the label which I do not want to do. Text format is letters.
I see nowhere under the validate tab with a data type of text to tell the script what 6 character word to expect so I'm not surprised it isn't quite working. Otherwise the form works fine. What am I missing?
Here's the page for my validation test: https://www.spyderridersofba.org/validation_test.php
Re: Editbox Validation (not) - What am I missing?
The file 'wb.validation.min.js' is not on the server.
Please make sure that you publish all files. Without this file the validation will not work.
Please make sure that you publish all files. Without this file the validation will not work.
If you want to match a value then you can add an (hidden) editbox and use the 'match' optionI see nowhere under the validate tab with a data type of text to tell the script what 6 character word to expect so I'm not surprised it isn't quite working.
Re: Editbox Validation (not) - What am I missing?
Wow, what a headache for a single missing file. All is well now! I'll be publishing EVERYTHING more often.
Thank you Pablo.
Thank you Pablo.
-
-
- Posts: 30
- Joined: Mon Jun 24, 2019 6:56 pm
Re: Editbox Validation (not) - What am I missing?
I started having validation issues. Everything worked fine for months, today none of the validation is working. I was looking at this thred and checked for the "wb.validation.min.js" file and it is in the webpage folder and when I publish I always choose "Entire website" and "Publish all files"
Is there any other reason validation would stop working?
Is there any other reason validation would stop working?
- BaconFries
-
- Posts: 5884
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Editbox Validation (not) - What am I missing?
If it has previously worked for months then maybe your host has changed something on there side. What is thr url link to the page/site in question so that we can view and then provide a answer.
-
-
- Posts: 30
- Joined: Mon Jun 24, 2019 6:56 pm
Re: Editbox Validation (not) - What am I missing?
This is an intranet site, I host it internally. I tried rebooting the web server thinking it might just be an windows thing, but no luck.
Re: Editbox Validation (not) - What am I missing?
To be able to help you, I need to see what you have done.
What is the URL of the page?
or do you have a demo project?
What is the URL of the page?
or do you have a demo project?
-
-
- Posts: 30
- Joined: Mon Jun 24, 2019 6:56 pm
Re: Editbox Validation (not) - What am I missing?
The url is http://mh/ (accessible only internally)
I used the standard form, it has Name, Phone, Email, etc. and I used the validate tab. Mode-default, data type-text, checkbox "data required" min 2.
This used to prevent users from hitting the send button with error "please enter name" but not any more.
I used the standard form, it has Name, Phone, Email, etc. and I used the validate tab. Mode-default, data type-text, checkbox "data required" min 2.
This used to prevent users from hitting the send button with error "please enter name" but not any more.
Re: Editbox Validation (not) - What am I missing?
I'm sorry, I need a working URL otherwise I cannot see what you have done.
Or else:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
Or else:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
-
-
- Posts: 30
- Joined: Mon Jun 24, 2019 6:56 pm
Re: Editbox Validation (not) - What am I missing?
The only issue I have found is that you did not set a maximum value for 'Pickup_Time'.
Everything else seems to be working (tested in WWB15).
Note that version 11 is no longer supported.
Everything else seems to be working (tested in WWB15).
Note that version 11 is no longer supported.
-
-
- Posts: 30
- Joined: Mon Jun 24, 2019 6:56 pm
Re: Editbox Validation (not) - What am I missing?
I'll try to remove that whole part. I've summited PO to upgrade my version for the new year.
So if it works for you would it have anything to do with that wb.validation.min.js file?
So if it works for you would it have anything to do with that wb.validation.min.js file?
Re: Editbox Validation (not) - What am I missing?
The problem is not related wb.validation.min.js.
The project you have shared works for me after setting a maximum value.
The project you have shared works for me after setting a maximum value.
-
-
- Posts: 30
- Joined: Mon Jun 24, 2019 6:56 pm
Re: Editbox Validation (not) - What am I missing?
I took out the pickup time and it all is working again. thanks!