How do i change the default form text? ("We would love to hear from you! Please fill out this form and we will get in touch with you shortly.")
It is not on the language files
How do i change the default form text? ("We would love to hear from you! Please fill out this form and we will get in touch with you shortly.")
It is not on the language files
This is placeholder text when you create a new form. Currently this isn't translated via language files, you would edit the form settings and change the form description which is what this is. I can see about having it added to the translation file, but currently it's designed to always be edited and changed when you create a new form.
Edit some PHP file isnt an option?
is this placeholder there?
Yes, you could edit the core PHP but I wouldn't recommend it. It will be get overwritten when we release an update and we always recommend users run the latest version. But you could certainly search the plugin for that line of code and change it there.
Hello,
I am looking into the same problem, although one year later.
I have the latest version of GF and made a Multiselect field. In enhanced mode the placeholder for the fields says 'Click here...' I have no idea how to translate this using the suggested form description. The only option for now seems to be PHP coding, not my cup of tea. Pleace advice.
Bart
Hi Bart,
To change the multi select fields data-placeholder attribute you would have to use the gform_multiselect_placeholder filter in your theme's functions.php file, the following example targets form 185 but if you want to apply it to all forms then you would remove _185 from the end of the filter name
add_filter("gform_multiselect_placeholder_185", "set_multiselect_placeholder", 10, 2);
function set_multiselect_placeholder($placeholder, $form_id){
return "Click to select your options...";
}
Regards,
Richard