Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #695970

    Hi,
    I would like to disable the Email adress* text in my mailchimp field and I don’t know how to do it.
    I can’t find the php file to edit.

    Thank you very much for helping !
    Regards,
    Thibault

    #695987

    Hey Obeatone,

    Please try adding this at the very end of your themes / child themes functions.php file:

    // Remove subject value
    function remove_placeholder(){
    ?>
    <script>
    jQuery(window).load(function(){	
       jQuery(".av-mailchimp-widget").find(".text_input.is_email").removeAttr('placeholder');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_placeholder');

    Best regards,
    Vinay

    #695997

    Thank you Vinay, it works fine !
    Regards,
    Thibault

    #696306

    Hi,

    Great, glad we could help :-)

    Please open a new thread if you should have any further questions or problems.

    Regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Mailchimp form / Disable field text in background’ is closed to new replies.