Formatting form builder [solved]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Formatting form builder [solved]

Post by herbshirt »

I give up. I searched and searched. 

Where do I find the file that has the validation error text (eg: <--- Please enter a value for "Your Name") etc?
I've found where it displays it in a list but it also displays it after the field itself and I can't find how to edit it.
Last edited by herbshirt on Fri Dec 28, 2007 10:09 pm, edited 1 time in total.
chrisl
Forum Members
Forum Members
Posts: 57
Joined: Fri Dec 30, 2005 10:08 am
Location: London

Re: Formatting form builder

Post by chrisl »

If all you want to do is edit the validation error text look in the "lang" directory

..\modules\FormBuilder\lang\en_US.php

in the default FormBuilder 0.4.4 version about line 51
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Formatting form builder

Post by herbshirt »

Great thanks. Is it possible to stop the validation errors from  appearing beside the fields and have them only appear in the list at the top?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: Formatting form builder

Post by Nullig »

You'd have to make the changes in the form template, to do that.

Nullig
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Formatting form builder [solved]

Post by herbshirt »

It took some time... not a programmer, lots of trial and error.. but I found it!
Thankyou.
Post Reply

Return to “CMSMS Core”