N-Media MailChimp Subscription
Required fields don't show asterisk (4 posts)

  1. mjpg
    Posted 3 years ago #

    Summary: Forms with required fields do not show this when embeded in a page with a shortcode.

    Steps I followed:
    Entered API and connected OK to Mailchimp.
    Used form wizard to make a form with required fields
    Added shortcode to page.
    Tested that form shows validation message.
    Tested form works OK and form sends OK to mailchimp.

    1. The form on the wordpress page does not show any required field - eg:
    Last Name *

    2. Validation error messages under the form just show the merge code - eg:
    MMERGE8 is required
    Can this be customised to allow messages that people can relate to the form?

    I am using plugin Version 3.2.2


  2. nmedia
    Plugin Author

    Posted 3 years ago #


    well it shouldn't show the strange validation message. please provide me your site link.

  3. mjpg
    Posted 3 years ago #

    Thanks for your quick reply.

    The site is not public, so I cannot send you a link.

    The firebug source for the error is:

    <div id="mc-response-area">
    <div class="nm_mc_error">
    EMAIL is required
    FNAME is required
    LNAME is required
    MMERGE5 is required
    Email address is invalid

    The source code is:

    <div class="nm_mc_form">
      <input type="hidden" value="7" id="nm_mc_form_id-1353512381" />
          <label for="EMAIL-1353512381">Email Address</label>
          <input type="text" name="nm-form-meta[EMAIL]" id="EMAIL-1353512381" class="nm_mc_input" />
          <label for="FNAME-1353512381">First Name</label>
          <input type="text" name="nm-form-meta[FNAME]" id="FNAME-1353512381" class="nm_mc_input" />
          <label for="LNAME-1353512381">Last Name</label>
          <input type="text" name="nm-form-meta[LNAME]" id="LNAME-1353512381" class="nm_mc_input" />
          <label for="MMERGE5-1353512381">Postcode</label>
          <input type="text" name="nm-form-meta[MMERGE5]" id="MMERGE5-1353512381" class="nm_mc_input" />
          <input type="button" class="nm_mc_button" value="Send" id="nm_mc_button-1353512381" onclick="postToMailChimp('DOMAIN/wp-content/plugins/nmedia-mailchimp-widget/api_mailchimp/postToMailChimp.php', 'DOMAIN/wplive/', '1353512381', '')" / >
         <img style="display:none" id="nm-mc-loading" src="DOMAIN/wp-content/plugins/nmedia-mailchimp-widget/images/loading.gif" />    <div id="mc-response-area">
  4. mjpg
    Posted 3 years ago #

    And what about the required field indication?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • N-Media MailChimp Subscription
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic