[solved] how to change error messages in Formbuilder

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
clay1754
New Member
New Member
Posts: 2
Joined: Wed Jun 23, 2010 6:12 pm

[solved] how to change error messages in Formbuilder

Post 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.
Last edited by clay1754 on Fri Aug 20, 2010 4:17 pm, edited 1 time in total.
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am

Re: how to change error messages in Formbuilder

Post by nicmare »

simply make you own messages like this:
{if $entry->valid == 0}the field "{$entry->name}" is empty!{/if}
clay1754
New Member
New Member
Posts: 2
Joined: Wed Jun 23, 2010 6:12 pm

Re: how to change error messages in Formbuilder

Post 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.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: how to change error messages in Formbuilder

Post 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  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
spiriralph
Forum Members
Forum Members
Posts: 36
Joined: Sat Jun 27, 2009 10:52 am

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

Post 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?
Post Reply

Return to “Modules/Add-Ons”