Using CMSMS 1.11.7 and FormBuilder 0.7.4
When filling out a form made with FormBuilder that has a requiered field, if you leave this field blank or fill it out incorrectly and click submit, a little text appears which says "Please fill out this field". How can I translate this field to another language (spanish in my case)? I have my desired language set up for the front end in the Global Settings and have also tried putting the lang="es_ES" parameter to the FormBuilder module call to no avail.
Is this text hardcoded into some file within the module directory?
Thanks in advance.
[Solved] FormBuilder: Translate "Please fill out this field"
[Solved] FormBuilder: Translate "Please fill out this field"
Last edited by Evoken on Thu Oct 10, 2013 3:33 pm, edited 1 time in total.
-
uniqu3
Re: FormBuilder: Translate "Please fill out this field"?
This message comes from HTML5 required attribute (http://www.html5rocks.com/en/tutorials/ ... attributes) and displayed messages depend on Browser and Browser language.
You cna override it though with some JavaScript, see this example in JSFiddle http://jsfiddle.net/zpkKv/3/
You cna override it though with some JavaScript, see this example in JSFiddle http://jsfiddle.net/zpkKv/3/
Re: FormBuilder: Translate "Please fill out this field"?
Thanks uniqu3! That javascript snipped worked!

