Re: Validations
nothing_at_a.com
Date: 12/02/03
- Next message: Sandip Chitale: "Re: Extreme swing app instability under JRE 1.4.x"
- Previous message: Tim: "Ant question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 02 Dec 2003 00:47:04 GMT
On Mon, 17 Nov 2003 17:30:11 -0800, "TJ" <tgillette1@cox.net> wrote:
>Hi all,
>
>I've completed the first part of an e-commerce web page and need help on
>data validation of certain fields within the form. And of course I've
>noticed irregularities as to how Netscape and IE display items and handle
>data validations.
>
>If I were to write validation checks in JavaScript would the output display
>the same for both internet explorer and Netscape? If not how do I do this?
>Does running JavaScript require downloading a plug-in? My form must display
>and behave the same for both IE and Netscape.
>
>All I want to do is validate the correctness of data entered into an order
>form. What is the best way to do this and what scripting language etc. would
>be best for handling this? This must work and display the same for both
>Internet Explorer and Netscape. If there are any resources you know of that
>would help me to do these checks I would appreciate it.
You should not rely on data checking within the browser. Users
(malicious users) could forge a POST or GET with bad data which your
back-end will blindly accept.
You should ALWAYS verify your data at the back-end before committing
it.
The only reason you might want to check the data at the browser is to
reduce your web traffic and/or provide faster feedback to the user.
--------------
>From MY Desk
WB
- Next message: Sandip Chitale: "Re: Extreme swing app instability under JRE 1.4.x"
- Previous message: Tim: "Ant question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|