PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How do i change the default form text? ("We would love to hear from you!")

  1. 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

    Posted 12 years ago on Monday August 8, 2011 | Permalink
  2. 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.

    Posted 12 years ago on Monday August 8, 2011 | Permalink
  3. Edit some PHP file isnt an option?
    is this placeholder there?

    Posted 12 years ago on Monday August 8, 2011 | Permalink
  4. 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.

    Posted 12 years ago on Monday August 8, 2011 | Permalink
  5. bartvh99
    Member

    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

    Posted 10 years ago on Friday June 7, 2013 | Permalink
  6. Richard Vav
    Administrator

    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

    Posted 10 years ago on Friday June 7, 2013 | Permalink