Local validation added on form.js