Notification if Comment Author Field is left empty. E.g. change input border colour

You can do this using jQuery. First of all, you need to add your script into your functions.php function my_theme_scripts() { wp_enqueue_script( ‘my-great-script’, get_site_url() . ‘/js/my-great-script.js’, array( ‘jquery’ ), ‘1.0.0’, true ); } add_action( ‘wp_enqueue_scripts’, ‘my_theme_scripts’ ); Then, in your file (my-great-script.js), you will have to have something like this: jQuery( “.form-submit” ).click(function(event) { if( … Read more