|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
necessary to do js and server side validations before retrieving values?
Hi
Please could you let me know what you normally do re form validation. I am currently validating a form using javascript. This checks empty fields and that email is correct. Do I also need to do these checks server side? Does anyone have a good link to info on server side validation ie. empty fields, data type, email a valid email etc? Thanks! Lee |
|
#2
|
|||
|
|||
|
For myself, I look at client-side js as an annoyance-preventer to catch obvious problems prior to another server trip.
I validate all data going into a database with server-side validation code. I have a VBS class that I use to validate each data element while generating a SQL string and write specific functions when needed for additional validation of data ranges & such. Search google for some of your specific validation requirements, usually someone has already done what you need ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > necessary to do js and server side validations before retrieving values? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|