Re: Validations

nothing_at_a.com
Date: 12/02/03


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



Relevant Pages

  • Re: E-Commerce Web Development
    ... That question is suited for a Javascript newsgroup This is a java newsgroup. ... > data validation of certain fields within the form. ... > noticed irregularities as to how Netscape and IE display items and handle ...
    (comp.lang.java)
  • Validations
    ... data validation of certain fields within the form. ... noticed irregularities as to how Netscape and IE display items and handle ... If I were to write validation checks in JavaScript would the output display ... the same for both internet explorer and Netscape? ...
    (comp.lang.java.developer)
  • E-Commerce Web Development
    ... data validation of certain fields within the form. ... noticed irregularities as to how Netscape and IE display items and handle ... If I were to write validation checks in JavaScript would the output display ... the same for both internet explorer and Netscape? ...
    (comp.lang.java)
  • Re: Customer fairness policy
    ... There are some things that Netscape ... what decision I should take with respect to data validation. ... techniques make it extremely easy to program for IE, ... with RequiredFieldValidators, in IE you get an instantanous response, as ...
    (microsoft.public.dotnet.general)
  • Re: Data validation lists
    ... use data validation for pull down menus....but I want to put addresses of ... For example I want to display ... The best delimiter to use would be CHARwhich is a carriage ... separate lines. ...
    (microsoft.public.mac.office.excel)