Page 1 of 1

Formatting form builder [solved]

Posted: Fri Dec 28, 2007 1:35 am
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.

Re: Formatting form builder

Posted: Fri Dec 28, 2007 9:17 am
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

Re: Formatting form builder

Posted: Fri Dec 28, 2007 9:27 pm
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?

Re: Formatting form builder

Posted: Fri Dec 28, 2007 9:44 pm
by Nullig
You'd have to make the changes in the form template, to do that.

Nullig

Re: Formatting form builder [solved]

Posted: Fri Dec 28, 2007 10:09 pm
by herbshirt
It took some time... not a programmer, lots of trial and error.. but I found it!
Thankyou.