Support » Plugin: Newsletter Sign-Up » No option to scroll down to error?

  • There was no way to see if there was an error in the form. Most people don’t realize they entered something wrong.

    Would recommend using the set_option() function in your plugin. Should also probably include jQuery Validate in there.

    For everyone else: Here is a hack to place in your footer as a workaround.

    	//Custom implementation
    	$email = strip_tags($_POST['nsu_email']);
    	if ($_POST && !filter_var($email, FILTER_VALIDATE_EMAIL)):
    	<script language="javascript">
            $(document).ready(function() {
                $('html, body').animate({
                   scrollTop: $(document).height()-$(window).height()},

  • The topic ‘No option to scroll down to error?’ is closed to new replies.