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.

popup validation message

  1. Amanda Snowden
    Member

    i have tried using the following

    add_filter( 'gform_validation_message', 'sw_gf_validation_message', 10, 2 );
    
    function sw_gf_validation_message( $validation_message ) {
    
    	//display error JS popup
    	add_action( 'wp_footer', 'sw_gf_js_error' );
    
    }
    
    function sw_gf_js_error() {
    	?>
    	<script type="text/javascript">
    		alert( "Please fill out all required fields indicated by a *" );
    	</script>
    	<?php
    }

    but it didnt get me anywhere, any ideas?
    http://www.targanpender.com/

    Posted 12 years ago on Tuesday June 19, 2012 | Permalink
  2. Amanda, the pop up worked fine for me in Firefox 12.0 on OSX 10.7.4. In what browser are you experiencing a problem and what actually happens?

    Posted 12 years ago on Wednesday June 20, 2012 | Permalink