PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom Email Field Validation Message Not Working With Mailchimp Addon Enabled

  1. Tim
    Member

    Working fine standalone - but does not display custom message when connected to the MailChimp addon.

    Site in development, public URL not available.

    Posted 5 years ago on Friday May 17, 2013 | Permalink
  2. Tim
    Member

    Issue resolved. MailChimp addon not at fault. User Registration addon causing the confusing error message.

    Solved by the following code in functions.php :

    add_filter("gform_user_registration_validation_message", "update_validation_msgs", 10, 2);
    
    function update_validation_msgs($message, $form) {
    	if($message == 'The username can not be empty')
    	$message = 'Email is required.';
    	return $message;
    }
    Posted 5 years ago on Friday May 17, 2013 | Permalink
  3. David Peralty
    Administrator

    Glad you were able to figure it out.

    Posted 5 years ago on Friday May 17, 2013 | Permalink

This topic has been resolved and has been closed to new replies.

Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only