AJAX PHP server side validation JSON response
4.2 (85 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
8,334 students enrolled

AJAX PHP server side validation JSON response

Create form validation from PHP JSON formatted responses using jQuery AJAX requests sending data to PHP code
4.2 (85 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
8,334 students enrolled
Created by Laurence Svekis
Last updated 11/2019
English
English [Auto-generated]
Current price: $129.99 Original price: $199.99 Discount: 35% off
12 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 1 hour on-demand video
  • 4 articles
  • 3 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Creating a basic form that sends data to the backend
  • JSON backend php responses
  • using JSON data
  • creating AJAX within jQuery
  • Event listeners
Course content
Expand all 13 lectures 52:55
+ Create an AJAX Validation Form
12 lectures 51:40
Web Dev environment and resources for the course
03:26
AJAX setup form data serialize
05:42
Respond with JSON data from server
05:50
PHP setup response to AJAX
04:41
PHP required fields check
03:03
Frontend messaging to user AJAX
09:31
Application Tweak and bug fix
06:42
Source Code HTML
00:18
Source Code PHP
00:06
Course Resources and Links
00:01
Requirements
  • HTML CSS JavaScript knowledge
  • Basic PHP and local server setup
  • Basic jQuery AJAX syntax
Description

This course will walk you through how to use jQuery AJAX to send data to PHP backend code and retrieve a JSON response from the PHP code.  Use the response data to provide users validation and messaging to the html form.

This course requires prior knowledge of JavaScript, and HTML.   Some jQuery AJAX and PHP is helpful to understand the code syntax.  

Course covers the following within the context of building the validation form.

  • HTML - simple HTML form input types text and email
  • CSS - limited styling of an HTMLform
  • JavaScript - Mainly jQuery some JavaScript data types  Objects and arrays
  • jQuery - AJAX and form submit event listeners
  • PHP - JSON encoding, POST values as variables, Conditional statements, echo content
  • AJAX - POST AJAX send and retrieve data.  Serialize form content
  • JSON - JSON formatted data response.
  • DOM - Document object model event listeners
  • Google DevTools console messaging

Source code is included, step by step instruction on the above topics.   This course is limited to the scope of this project and will not teach these programming languages from scratch.  Please have basic prior understanding of the above topics before commencing with this course.

Explore how to create a simple HTML that submits an AJAX request and retrieves server responses using those responses within JavaScript to create dynamic responses within HTML.  

Taught by an instructor with over 18 years web development experience, ready to help answer any questions you may have.

Learn by example see the code in action!

Are you ready to create form validation, enter the course and start creating your own custom script!



Who this course is for:
  • Web developers
  • Web designers
  • Wen masters
  • Anyone who wants to learn more about AJAX and backend connections