Support » Plugin: MailChimp List Subscribe Form » Placeholder for Email missing

  • Hi,

    first of all I tried several mail chimp plug-ins and yours is so far the best, like it! There is just one topic which I need to have fixed:

    screenshot: http://snag.gy/YDFm2.jpg

    I can’t get the placeholder for “Email” displayed while “First Name” and “Last Name” are working fine, I tried since days now, have to give up. I don’t want it as a headline, in the field like the name fields is the way to go.

    THANKS! Keep up the good work!
    Bernhard

    https://wordpress.org/plugins/mailchimp/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hey STUDIO BAERIG!

    Thanks for swinging by the forum. We totally understand the concern over not seeing that email field label displayed, and we’d be happy to take a look.

    To do that, can you send over the URL for the site where the plugin is currently located?

    Looking forward to your reply!

    -Elliot

    Thread Starter STUDIO BAERIG

    (@studio-baerig)

    Do you have an email address where I can provide you the sign-in info?

    Hey STUDIO BAERIG,

    It’s good to hear from you.

    While we do try to avoid receiving sensitive info, if you could email it over to wordpress[at]mailchimp[dot]com, we’ll be happy to look things over on your site. From there, we’ll provide our findings directly in this forum.

    Have a good one! We’ll keep an eye out for your reply.
    -mc_elliot

    Hi Studio Baerig,

    Thanks for sending that information. To give some background, the placeholders for fields are copied from the default merge value in the MailChimp list. 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. 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

    Thread Starter STUDIO BAERIG

    (@studio-baerig)

    I changed the code, but nothing happens. The connection to Mail Chimp works fine, I can change all name fields and they get right displayed in the Wp mailchimp settings, but on the webpage that Email field stays blank, checking the code confirms placeholder=””, what should I do?

    Pls advice, should be a easy thing as everybody who has a form with 2 or more fields don’t want to be just the first empty?

    Thanks,
    B

    Thread Starter STUDIO BAERIG

    (@studio-baerig)

    Tried it again and again, for some reason 3rd attempt worked, maybe my cyberduck is a bit sick 😉
    Resolved!!! Thank you so much!

    Hey STUDIO BAERIG!

    You’re welcome, and it’s good to hear that bit of code helped. Feel free to start another thread if you any future questions, and we’ll be happy to help 🙂

    -Elliot

    @mc_elliot, it would be really great if you could add a filter hook to the placeholders so that this does not get wiped out when the plugin is updated.

    Hey silb3r!

    Thanks for hopping in the forum. I’m happy to note that feature request and pass it along to our developers.

    Feel free to start another thread if you have any questions!

    -mc_elliot

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Placeholder for Email missing’ is closed to new replies.