Created
December 1, 2015 16:56
-
-
Save ericakfranz/f3dff7e95581eea7b43e to your computer and use it in GitHub Desktop.
Customize the error messages shown for the email and name input fields for OptinMonster when using any native Email Service Provider integration. Can be used to translate the message shown as well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($){ | |
jQuery(document).on('OptinMonsterBeforeShow', function(event, props, object) { | |
object.setProp('email_error', 'Replace this text with your custom email field error message'); | |
object.setProp('name_error', 'Replace this text with your custom name field error message'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment