Page 1 of 1

[solved] how to change error messages in Formbuilder

Posted: Wed Jun 23, 2010 6:17 pm
by clay1754
Just trying to figure out how to change the error messages that are displayed if a user fails to enter a value for a required field, i.e. <--- Please enter a value for "Name:"

I didn't find the option within the formbuilder admin, and I also haven't tracked it down in the formbuilder files yet.

Any help is appreciated.

Re: how to change error messages in Formbuilder

Posted: Fri Aug 20, 2010 10:28 am
by nicmare
simply make you own messages like this:
{if $entry->valid == 0}the field "{$entry->name}" is empty!{/if}

Re: how to change error messages in Formbuilder

Posted: Fri Aug 20, 2010 4:16 pm
by clay1754
Thanks for the reply, I finally found that there was a language file, en_US.php, within the formbuilder directory that had values that could be modified to what I wanted them to say.

Re: how to change error messages in Formbuilder

Posted: Fri Aug 20, 2010 4:42 pm
by Rolf
clay1754 wrote: I finally found that there was a language file, en_US.php, within the formbuilder directory that had values that could be modified to what I wanted them to say.
This will work till you upgrade the module...
The next page is a good read how to prevend overwritten language strings:
http://calguy1000.com/Blogs/6/60/custom ... lates.html

Regards, Rolf  :)

Re: [solved] how to change error messages in Formbuilder

Posted: Fri Sep 10, 2010 9:25 am
by spiriralph
hi
there is a translated file in sub folder (directory) modules/FormBuilder/lang/ext for every languages
BUT WHY CMSMS NOT USE them?