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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!