Page 1 of 1
[SOLVED] FormBuilder: HTML validation errors in forms.
Posted: Mon Mar 09, 2015 10:13 pm
by Trenia
Hi, I am not exactly sure where to post this, and if it is a FormBuilder issue or something else.
I get similar HTML validation errors at both form pages that I have
http://validator.w3.org/check?uri=http% ... 2Fservices
and
http://validator.w3.org/check?uri=http% ... ne&group=0
Problem is, I don`t know where to correct it. From where in admin, or which file(s) and location? I would very much appreciate it if someone could point me in the right direction. Thank you

Re: FormBuilder: HTML validation errors in pages with forms.
Posted: Mon Mar 09, 2015 11:20 pm
by reneh
the validator tell on first line:
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
So be sure the call of form is not inside a paragraph <p></p>
Very often designers make templates that have p's around the content tag...
And other times its put into content via TinyMCE enabled. And TinyMCE adds p as default around most items...
Re: FormBuilder: HTML validation errors in pages with forms.
Posted: Mon Mar 09, 2015 11:39 pm
by Trenia
Thank you very much. You are correct. I had <p></p> around the tag that calls the form. I am down to 4 errors.
I also use TinyMCE.
Edit: Now down to 2 errors. Removed height="52" width="150" in the forms template layout.
Can`t seem to figure out last two errors... nothing that can be fixed from inside admin from what i can tell. Guess the error must be in a FormBuilder file somewhere.
Re: FormBuilder: HTML validation errors in pages with forms.
Posted: Tue Mar 10, 2015 8:33 am
by velden
FormBuilder has a 'Fieldset start' field type and a 'Fieldset End' fieldtype. I guess you omitted the latter.
Re: FormBuilder: HTML validation errors in pages with forms.
Posted: Tue Mar 10, 2015 10:01 am
by Trenia
velden wrote:FormBuilder has a 'Fieldset start' field type and a 'Fieldset End' fieldtype. I guess you omitted the latter.
Both forms have a fieldset start and fieldset end in it. So where do I edit? Which Formbuilder file has the html coding for the fieldset?
Re: FormBuilder: HTML validation errors in pages with forms.
Posted: Tue Mar 10, 2015 10:07 am
by velden
I see. You probably can't use a fieldset like you do. Not sure how to explain. It's a container for form elements. You put the fieldset start and label in a <td> element etc.
As you can see (at least I see it in Firefox) it doesn't display properly.
Re: FormBuilder: HTML validation errors in pages with forms.
Posted: Tue Mar 10, 2015 10:27 am
by Trenia
Forms are now passing validation after I removed fieldset start and fieldset end from them. Thank you. I guess I don`t need them. Forms seem to work fine.

Re: [SOLVED] FormBuilder: HTML validation errors in forms.
Posted: Tue Mar 10, 2015 10:44 am
by Rolf