Jump to content

[SOLVED] Form validation question


graham23s

Recommended Posts

Hi Guys,

 

not sure what category this falls into lol but say i use javascript to validate user input, but the users browser doesn't support javascript, would i need to also do server side validation as a back up? i usually always go with PHP as my validation

 

just curious before i start coding.

 

thanks guys

 

Graham

Link to comment
https://forums.phpfreaks.com/topic/87898-solved-form-validation-question/
Share on other sites

If your worried about java disabled end users PHP is your best bet then in my personal opinion at least. Only downside is PHP can't be ran on the fly like java so they would have to submit the form an go through a php validation page. And back to the form if necessary. But with the use of php you can mimic java in essence pending how you want to follow up with validation and errors there of within the form.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.