Hi Greg,
Letting JS do all your validation is a Very Bad Idea.
First and foremost, users can turn it off at will.
Secondly, most JS validation is only written to validate type, not value.
In general, you should apply validation on the server side that
validates both the type of input, and that it's valid according to
your business logic (did they try to enter a date for a future
appointment that's in the past?), and then again at the database level
using parameters (for type), and logic + constraints for your business
logic.
-joe
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- form validation problems Mark Henderson
- Re: form validation problems Qasim Rasheed
- RE: form validation problems Mark Henderson
- Re: form validation problems Greg Morphis
- Re: form validation problems Joe Rinehart
- Re: form validation problems Claude Schneegans
- Re: form validation problems Ewok
- Re: form validation problems Claude Schneegans
- Re: form validation problems Joe Rinehart
- Re: form validation problems Claude Schneegans
- RE: form validation problems d.a.collie
- Re: form validation problems Ewok
- Re: form validation problems Claude Schneegans
- RE: form validation problems Tangorre, Michael
- RE: form validation problems d.a.collie