Validation in bizpace

In js
Use submitForm of helpers.js

In blade 
Put span.error-text inside .form-group of every input

In controller 
Put Validation with messages if needed


By doing that, you will receive a on page form submission response without loading page.
If errors, then error messages below inputs and focus on first one
If success, popup of success messge and redirect to index page of that module

Comments

Popular posts from this blog

Every table & model needs