Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: SV: Re: SV: Server side or Client side javascript!!!


Message #1 by =?iso-8859-1?Q?H=E5kan_Frennesson?= <hakan@c...> on Mon, 18 Feb 2002 23:02:16 +0100
Sorry for the wrong statement - Should study more about javascript.

Thanks for the correction.



Hakan



-----Ursprungligt meddelande-----

Från: James Garrett [mailto:jhgarrett@e...]

Skickat: den 18 februari 2002 21:45

Till: ASP Databases

Ämne: [asp_databases] Re: SV: Server side or Client side javascript!!!





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').

>








$subst('Email.Unsub').



Message #2 by =?iso-8859-1?Q?H=E5kan_Frennesson?= <hakan@c...> on Tue, 19 Feb 2002 07:53:19 +0100
Hi!



I just realized I have a lot to learn about web technologies. This is way

above my head, having worked mostly with database design in Access. I

quickly return to my chamber and study web technologies intensely a couple

of years and can hopefully come back and give some really valueble

answers..:-(

Me not wanna bet the the "Don´t-believe-what-that-guy-is-telling-you"-person

:-)



Thanks for the correction Ken



Hakan



-----Ursprungligt meddelande-----

Från: Ken Schaefer [mailto:ken@a...]

Skickat: den 19 februari 2002 01:23

Till: ASP Databases

Ämne: [asp_databases] Re: SV: Server side or Client side javascript!!!





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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.










$subst('Email.Unsub').




  Return to Index