SOLVED - Formbuilder label tag problem

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
lainyrache
Forum Members
Forum Members
Posts: 106
Joined: Thu Oct 05, 2006 11:27 am

SOLVED - Formbuilder label tag problem

Post by lainyrache »

Hi

I am using formbuilder for a contact form on my site, but the for attribute in the label tags are not matched correctly with the ids on some fields.
Eg:

Code: Select all

<label for="m3_4">Your Name:</label><input type="text" name="m3fbrp__4" id="m3fbrp__4" value="" size="25" maxlength="128" />
<label for="m3_18">Your Email:</label><input type="text" name="m3fbrp__18" id="m3fbrp__18" value="" size="25" maxlength="128" />
<label for="m3_6">Subject:</label><input type="text" name="m3fbrp__6" id="m3fbrp__6" value="" size="25" maxlength="128" />
<label for="m3_7"><span class="error" title="required">*</span>Message:</label><textarea name="m3fbrp__7" cols="60" rows="5" id="m3_7"></textarea></div>
I think this must be a problem with the latest version of CMSMS as previously I have used 1.5.2 and not had this problem. I am now using CMSMS version 1.5.3

Has anybody else come across this?

Thanks for any help,
Rachael
Last edited by lainyrache on Wed Apr 15, 2009 9:55 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Formbuilder label tag problem

Post by Dr.CSS »

Does this present a problem when using the form, as in submission, or styling or ?, not sure what it is doing that is a problem, it looks like it has a short , have you tried deleting the form and starting over, do you have the latest version of formbuilder?...
lainyrache
Forum Members
Forum Members
Posts: 106
Joined: Thu Oct 05, 2006 11:27 am

Re: Formbuilder label tag problem

Post by lainyrache »

Hi Mark,
Thanks for your reply. You were quite right it was an old version of formbuilder - I should have checked that first, instead of checking and rechecking just about everything else!

It was a problem with the outputted html, not the styling or submission. The code will not validate with unmatched for and id attributes.
It is all fixed now.
Many thanks
Rachael
Post Reply

Return to “Modules/Add-Ons”