/* Form Validation Code */
Javascript form validation checks for values in the name and message input fields. Custom error labels are appended as friendly reminders that a value is required.
// Wait for the DOM to be ready
jQuery(document).ready(function( $ ) {
// Require jQuery Validate plugin
$("input").prop('required',true);
$.getScript( 'https://cdn.jsdelivr.net/jquery.validation/1.15.1/jquery.validate.min.js' ).done( function() {
// When user focuses and exits the input field