• Hi,

    I have my mailchimp form set up and linked to my site via this plugin.

    The form appears in the site via the widget but it won’t let me put an address in using a postcode. After 5 characters no more letters can be put in – like it is expecting an american zip code or something.

    Also, despite having set my birthday field on mailchimp to be dd/mm it enters it in mm/dd which is wrong.

    Are these errors in your plugin or have I set up something wrong.

    I also attempted to use the mailchimp shortcode form in a modal window and while it displays, no error codes are shown – the form just goes away on an error.

    thanks for any help.

    http://wordpress.org/plugins/mailchimp/

    [No bumping. If it’s that urgent, consider hiring someone.]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey there,

    Thanks for posting! These are great questions. I’ll make sure to address each one in the order that they were asked.

    For the first issue, It sounds like you may be using the “Zip Code” field type, which I’m afraid currently only supports US Zip Codes (this is why you’re seeing the 5 character limit on that input field). As an alternative, the best bet would be to use a text field to capture international zip codes instead.

    With the birthday field, I’m able to replicate the interaction that you’re describing after doing a bit of testing on my end. In using a birthday field setup as dd/mm in my MailChimp account, the plugin’s form still only displays and accepts input with mm/dd format. I can definitely see how this can create some confusion, both as a MailChimp user and subscriber using the form, so it’s something that I can offer to pass along to our developers for consideration. For the time being, workarounds to consider would be to a) change the birthday label to include the “mm/dd” formatting (while not ideal, this may help to avoid confusion) or b) to experiment with the MailChimp embed code form rather than the plugin form. The embed code would allow for you to present your birthday input fields as dd/mm. This article walks through how to get that embed code: How can I add my signup form to my website?: http://eepurl.com/gOGN

    For the final question in regards to the modal/error issues, would you be able to provide us with a link to the form in question? It’s possible that the interaction may be unique to the structure of the modal’s implementation, rather than an issue with the shortcode or plugin form itself. As a means of testing this, we’d recommend first confirming that using the shortcode outside of a modal is working as expected in terms of generating the desired error messages. If the error messages are showing up, it may be a conflict with the way in which the modal is setup. You may consider trying out the MailChimp embed code form in the modal as well, to see if you obtain a more desirable interaction. The embed code notably provides an option with javascript-disabled, which may offer an improvement in the issues you’re seeing with errors not being made clear to the subscriber signing up.

    If you have any questions or concerns, feel free to post here and we’d be happy to provide further assistance!

    Thread Starter fatherb

    (@fatherb)

    Hi Chimpsters

    Thanks for the reply. Going through these issues one by one.

    Postcode Entry: No, I’m not using the Zip code field. I’m using the Address field. You can see the mailchimp form here –

    http://eepurl.com/DiRfL

    Birthday in wrong format: Glad you can see that it is the wrong way round too. Hopefully your developers will correct it.

    Modal form: Using the shortcode [mailchimpsf_form] in my modal box on this page – http://audenguitars.com/test/ Click the Sign Up box to activate it. Clicking the subscribe button makes the form disappear regardless of showing errors etc.

    Embed form: I finally turned to the embed form after the plugin gave me so much trouble. There are a couple of issues with it that affect WordPress users. If you could pass this information on to your developers and get them to update their code it would be fantastic as these could a ton of headaches.

    This in the javascript:

    function mce_success_cb(resp){
    $('#mce-success-response').hide();

    needs to be changed to this:

    function mce_success_cb(resp){
    jQuery(document).ready( function($) {
    $('#mce-success-response').hide();'

    and have a closing set of brackets at the end of the function like this: }); before the last curly bracket in the javascript.

    The function mce_init_form(){ already has this in it but somebody forgot to add jQuery(document) to the mce_success_cb function. Without this change, the code has javascript conflicts and kicks you out to the hosted online form.

    As the code is, none of the success / error messages appear as they are invisible. Therefore it appears that the form isn’t working. This is because in WordPress the class of ‘clear’ makes things invisible. This is used twice in your embed form code. If you changed that name to anything else eg. clearstuff and in the css from clear to clearstuff then it would work perfectly in WordPress.

    As the current embed code is, it is very difficult for WordPress users to use. A couple of changes and everything works. I hope this helps your developers and everyone else trying to put a mailchimp form on their site.

    I got it working on the site here:

    http://audenguitars.com/win/

    Hey there,

    Thanks for the thorough response. I went ahead and took a look at the Address field type and it does look like the issue that you described is happening on my end as well. I’ve passed along that reported interaction (as well as the one with the birthday fields) to our developers. Again, thanks for taking the time to pass these issues along to us here.

    In regards to the issues with the embed form code, both with the suggested JS edit and the potential CSS conflict, I’ve also passed along your notes to our developers that manage that as well.

    For the original issue regarding the issues with the modal, can you confirm that you’re using the “Easy Modal” plugin? If not, can you clarify for me the name of the WordPress plugin you’re using? This will allow me to investigate the issue a bit further to determine if there’s any workarounds that we can find on our plugin’s side of things.

    In the mean time, I’ll make sure to keep this post handy to pass along to anyone who comes to the forum with similar issues involving integration with a modal. Thanks again! Let us know if you have any additional questions, concerns, or feedback!

    Thread Starter fatherb

    (@fatherb)

    Yes, to confirm I was using the mailchimp plugin with Easy Modal plugin to create a popup form for signups.

    Thanks for replying back and good luck with evolving the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Unable to add postcode into postcode field’ is closed to new replies.