Implementation of AJAX broadcast form submission error