Warning: Trying to access array offset on value of type bool in /home/u171050707/domains/qcode.in/public_html/wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 45

Warning: Trying to access array offset on value of type bool in /home/u171050707/domains/qcode.in/public_html/wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 46

Warning: Trying to access array offset on value of type bool in /home/u171050707/domains/qcode.in/public_html/wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 47

Warning: Trying to access array offset on value of type bool in /home/u171050707/domains/qcode.in/public_html/wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 48
ajax Archives - QCode
Vue.js directive to submit and server-side validatate forms using AJAX

Vue.js directive to submit and server-side validatate forms using AJAX

Submitting a Form using classical post request will work but it does don’t give the user feedback while it’s submitting and overall not a great user experience. I find myself creating Laravel apps which uses Vue in many places, but if it’s not a complete SPA (without Vue router),  to make forms more interactive I have created a directive v-ajax-submit which I use religiously in my apps to turn boring forms more fun. Continue reading…