page1 in my DEMO.
I have a LayoutGrid1 which is a form.
I have a Layoutgrid2 which is inside layoutgrid1 and a SUBMIT button in it.
I have a Layoutgrid3 which is inside layoutgrid2 and a Text Area in it.
Text Area has Max. Lenght: 30 and inside Validate: Data Required - ticked, Min: 1 Max: 30.
If you click SUBMIT button, it will try to send data immidietaly, without checking if Validation and data lenght is ok.
page2 in my DEMO.
But, if I put the Layoutgrid3 inside Layoutgrid1 which is acualy a Form, it WILL do the check for data lenhght etc.
DEMO: https://anonfiles.com/NcKaifm0z5/layout ... lenght_wbs
Am I doing something wrong or?
Thanks
LayoutGrid Validation in Text Area
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
Re: LayoutGrid Validation in Text Area
The element with validation should be a direct child element of the form (not of a nested grid) otherwise the input cannot be validated.
- wwonderfull
-
- Posts: 1562
- Joined: Fri Aug 21, 2020 8:27 am
- Contact:
Re: LayoutGrid Validation in Text Area
Are you using bootstrap validation html or something else? If bootstrap then I think there should not be much problem. These kind of problems occurred for many reasons as I had them and got to learn from the mistakes. If you need help you can submit a demo project just with the form. Maybe we can help you out.