madsovenielsen Posted June 21, 2009 Share Posted June 21, 2009 Its great checking form data with JavaScript but what happens if the client have turned JavaScript off ?/mads Link to comment Share on other sites More sharing options...
boen_robot Posted June 21, 2009 Share Posted June 21, 2009 Validation won't happen and the form will be submitted as is.This (along with the ability to forge HTTP requests...) is exactly why JavaScript validation (and any client side validation for that matter) should only ever be used in addtion to server side validation, but never as a replacement for it. Link to comment Share on other sites More sharing options...
madsovenielsen Posted June 21, 2009 Author Share Posted June 21, 2009 Validation won't happen and the form will be submitted as is.This (along with the ability to forge HTTP requests...) is exactly why JavaScript validation (and any client side validation for that matter) should only ever be used in addtion to server side validation, but never as a replacement for it.Okay. i thought so. thanks/mads Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.