Question: I have an html form that needs to complete java script validation on the client and php validation on the server. My question is, which
I have an html form that needs to complete java script validation on the client and php validation on the server. My question is, which one will validate first? In my project php always validates first, and it seems that the javascript should be validating first, because it would prevent the form from submitting. The php can't validate until the form is submitted so why would my php validate first? Any help is much appreciated. Thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
