|
 |
asp_databases thread: SV: Server side or Client side javascript!!!
Message #1 by =?iso-8859-1?Q?H=E5kan_Frennesson?= <hakan@c...> on Mon, 18 Feb 2002 21:19:48 +0100
|
|
Hi!
Javascript is always client side.
It is a good idea to use client side scripting for form validation because
the data is checked before being sent to the server.
Check these links out:
http://javascriptkit.com/script/cutindex13.shtml
http://www.echoecho.com/jsforms.htm
http://www.beginnersjavascript.co.uk/practical/validation.html
http://www.webreference.com/js/tips/000124.html
http://www.javascriptsearch.com/scripts/Tutorials/form_val.html
Hakan
-----Ursprungligt meddelande-----
Från: Linday Bakharia [mailto:lindsay_bakharia@h...]
Skickat: den 18 februari 2002 15:14
Till: ASP Databases
Ämne: [asp_databases] Server side or Client side javascript!!!
I am working on my Form validation for my Survey application (not sure if
I should use the server side or client side javascript). My application
consists of 60 questions and they all use radio buttons. All the
questions and values are pulled out from the database. My goal is to
force the user to answer each question before they go to the next page. I
have looked at several articles from 4guysfromrollar regarding to this
issue but I still don't figure how this could be done.
If you have seen other articles that relates to this issue, please share.
Thanks.
$subst('Email.Unsub').
Message #2 by "James Garrett" <jhgarrett@e...> on Mon, 18 Feb 2002 15:45:27 -0500
|
|
Javascript is both client- and server-side.
----- Original Message -----
From: "Håkan Frennesson" <hakan@c...>
To: "ASP Databases" <asp_databases@p...>
Sent: Monday, February 18, 2002 3:19 PM
Subject: [asp_databases] SV: Server side or Client side javascript!!!
> Hi!
>
> Javascript is always client side.
>
> It is a good idea to use client side scripting for form validation because
> the data is checked before being sent to the server.
>
> Check these links out:
> http://javascriptkit.com/script/cutindex13.shtml
> http://www.echoecho.com/jsforms.htm
> http://www.beginnersjavascript.co.uk/practical/validation.html
> http://www.webreference.com/js/tips/000124.html
> http://www.javascriptsearch.com/scripts/Tutorials/form_val.html
>
> Hakan
>
> -----Ursprungligt meddelande-----
> Från: Linday Bakharia [mailto:lindsay_bakharia@h...]
> Skickat: den 18 februari 2002 15:14
> Till: ASP Databases
> Ämne: [asp_databases] Server side or Client side javascript!!!
>
>
> I am working on my Form validation for my Survey application (not sure if
> I should use the server side or client side javascript). My application
> consists of 60 questions and they all use radio buttons. All the
> questions and values are pulled out from the database. My goal is to
> force the user to answer each question before they go to the next page. I
> have looked at several articles from 4guysfromrollar regarding to this
> issue but I still don't figure how this could be done.
>
> If you have seen other articles that relates to this issue, please share.
> Thanks.
>
>
> $subst('Email.Unsub').
>
>
$subst('Email.Unsub').
>
Message #3 by "Ken Schaefer" <ken@a...> on Tue, 19 Feb 2002 11:23:19 +1100
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Håkan Frennesson" <hakan@c...>
Subject: [asp_databases] SV: Server side or Client side javascript!!!
<snip>
: It is a good idea to use client side scripting for form validation because
: the data is checked before being sent to the server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Data should always be validated on the server, and optionally (for the
user's benefit) on the client.
You can not rely on client-side validation as it is trivial for the user to
avoid it:
www.adopenstatic.com/resources/code/UIValidation.asp
Cheers
Ken
: -----Ursprungligt meddelande-----
: Från: Linday Bakharia [mailto:lindsay_bakharia@h...]
: Skickat: den 18 februari 2002 15:14
: Till: ASP Databases
: Ämne: [asp_databases] Server side or Client side javascript!!!
:
:
: I am working on my Form validation for my Survey application (not sure if
: I should use the server side or client side javascript). My application
: consists of 60 questions and they all use radio buttons. All the
: questions and values are pulled out from the database. My goal is to
: force the user to answer each question before they go to the next page. I
: have looked at several articles from 4guysfromrollar regarding to this
: issue but I still don't figure how this could be done.
|
|
 |