• Hello!

    I need one thing but I don’t know if it is possible…

    I have all configure correctly.

    Only need change the label form place. Now, label appear over input and I want that label is appearing into the input.

    Like a placeholder text in contact form 7 plugin, for example.

    Is it possible do this in Mailchimp??

    Thank you very much for your help,
    cheers!

    https://www.ads-software.com/plugins/mailchimp/

Viewing 1 replies (of 1 total)
  • Hi Mr. Goethe,

    Thanks for hopping in the forum! You can set your default merge tag values in your MailChimp account, which will then show as placeholder values in your plugin’s signup form. Here’s a great guide on adding a default value to fields:

    Set Default Merge Values for a List: https://eepurl.com/hcDC

    However, since default merge tag values can’t be set for the email field, that will remain blank. The code-changing solution below will fill in the email field as well.

    -In wp-admin, go to Plugins > Editor > MailChimp > mailchimp_widget.php.
    -Locate this line of code:
    <input type=”text” size=”18″ placeholder=”‘.esc_html($var[‘default’]).'” name=”‘.esc_attr($opt).'” id=”‘.esc_attr($opt).'” class=”mc_input”/>’;
    -Change $var[‘default’] to $var[‘name’]. This will begin using your field label as what appears in the placeholder attribute for your input fields.

    The labels above the fields can be hidden by adding this bit of css to your site’s css.

    #mc_signup_form .mc_var_label {
    display: none;
    }

    There is one thing to note with this option, updates to the plugin could overwrite these changes.

    Let us know if you have any other questions.

    -mc_d

Viewing 1 replies (of 1 total)
  • The topic ‘Placeholder label’ is closed to new replies.