Page 1 of 1
No validations on the form
Posted: Fri May 15, 2020 4:59 pm
by luishmpaulo
Hi, it's me again...
Building a web site for another client, I set all the fields in the form as data required, but nothing happens ... I tested it as default, like Bootstrap, HTML5, but nothing ... What am I doing wrong this time?
This is the form:
http://assetramed.com.br/2020/Agendamentos.php
Ah!
The multiple choice Combobox 2 is not working properly too, only sends the first item selected.
Re: No validations on the form
Posted: Fri May 15, 2020 5:17 pm
by Pablo
The validation properties of 'Editbox1' are incomplete.
If you select 'custom' then you will need to specify a valid regular expression.
Note: if you make one mistake then this will affect all scripts on the page.
Re: No validations on the form
Posted: Fri May 15, 2020 8:41 pm
by luishmpaulo
Yes, it was on birth date (ddmmaaa) because it wasn't working well, I put the date as indicated, just number, and still receiving msg that it was wrong ...
For dates edit boxes I put now "datetime" (in General) and "number" (in Validete/data type). Now it's OK.
Re: No validations on the form
Posted: Tue Jun 09, 2020 11:57 am
by luishmpaulo
Hi!
Again the validations...
Despite having adjusted the validations in the fields, the Internet user is still able to send the form without filling it out. How do I prevent the form from being submitted without filling in?
This is the form:
http://assetramed.com.br/Agendamentos.php
Re: No validations on the form
Posted: Tue Jun 09, 2020 12:32 pm
by Pablo
I cannot see what you have done based on the HTML code.
But I think there is a conflict in the settings of 'Combobox3'. That is where the browser generates an error.
Re: No validations on the form
Posted: Tue Jun 09, 2020 12:43 pm
by luishmpaulo
Hmmm.
In the combobox3 I didn't put any validation, only allowed multiple selection...
Re: No validations on the form
Posted: Tue Jun 09, 2020 1:17 pm
by Pablo
Somewhere in this object there is a conflict.
Re: No validations on the form
Posted: Tue Jun 09, 2020 1:22 pm
by luishmpaulo
Thanks! If I'll try to find!