Forums

label tag validation

mauriciocgpereira 19 Jun, 2014
Greetings,
I've got a form that I want to style using custom css.
I designed the form with the wizard, then customized the code inserting the css styles, and pasted back in the custom code.
One of the customizations demanded that the div with the input fileds was inside a label tag.
I noticed then the validation stoped working because of that label tag!
I mus place the input inside the label.
How can I achieve this and still the validation remains working?
Thanks
GreyHead 20 Jun, 2014
1 Likes
Hi mauriciocgpereira,

Hmmm . . . I'm a bit surprised that changing the <label> tag breaks the validation. That should just be linked to the element class. Please post a link to the form so I can take a quick look.

Bob
mauriciocgpereira 20 Jun, 2014
Answer
Hi there,
problem solved.
After all it had to do with the div tags generated by the wizard!
I don't know why but after I deleted the div tags that "embraced" the text box's, maintaining the label tag, the error disapeared!
Thanks anyway.
This topic is locked and no more replies can be posted.