How to Edit The Input Field Error Messages

When using one of our native Email Service Provider integrations, by default OptinMonster will show standard error messages for the First Name and Email Address input fields.

These input field error messages can be edited to use your own custom text with a few lines of Javascript, placed in the footer of your site.

    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');
IMPORTANT: Remember to place your code in <script> tags, for example:
<script type="text/javascript">
    // Your Javascript here..