Support » Plugins and Hacks » Required fields don't show asterisk

Required fields don't show asterisk

  • 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


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nmedia



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

    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">

    And what about the required field indication?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Required fields don't show asterisk’ is closed to new replies.