Page 1 of 1
Editbox Validation (not) - What am I missing?
Posted: Sat Nov 03, 2018 8:23 pm
by Brian
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
Re: Editbox Validation (not) - What am I missing?
Posted: Sat Nov 03, 2018 9:26 pm
by Pablo
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.
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.
If you want to match a value then you can add an (hidden) editbox and use the 'match' option
Re: Editbox Validation (not) - What am I missing?
Posted: Sun Nov 04, 2018 11:28 am
by Brian
Wow, what a headache for a single missing file. All is well now! I'll be publishing EVERYTHING more often.
Thank you Pablo.
Re: Editbox Validation (not) - What am I missing?
Posted: Tue Dec 17, 2019 8:09 pm
by cwlutterloh
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?
Re: Editbox Validation (not) - What am I missing?
Posted: Tue Dec 17, 2019 8:56 pm
by BaconFries
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.
Re: Editbox Validation (not) - What am I missing?
Posted: Wed Dec 18, 2019 12:46 pm
by cwlutterloh
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?
Posted: Wed Dec 18, 2019 1:30 pm
by Pablo
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?
Re: Editbox Validation (not) - What am I missing?
Posted: Wed Dec 18, 2019 2:33 pm
by cwlutterloh
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.
Re: Editbox Validation (not) - What am I missing?
Posted: Wed Dec 18, 2019 3:19 pm
by Pablo
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
Re: Editbox Validation (not) - What am I missing?
Posted: Wed Dec 18, 2019 3:37 pm
by cwlutterloh
Re: Editbox Validation (not) - What am I missing?
Posted: Wed Dec 18, 2019 3:59 pm
by Pablo
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.
Re: Editbox Validation (not) - What am I missing?
Posted: Wed Dec 18, 2019 4:11 pm
by cwlutterloh
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?
Re: Editbox Validation (not) - What am I missing?
Posted: Wed Dec 18, 2019 4:24 pm
by Pablo
The problem is not related wb.validation.min.js.
The project you have shared works for me after setting a maximum value.
Re: Editbox Validation (not) - What am I missing?
Posted: Wed Dec 18, 2019 6:16 pm
by cwlutterloh
I took out the pickup time and it all is working again. thanks!