put a cfoutput around your entire form and use cfloop for query looping!

-----Original Message-----
From: Tristram Charnley [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 9 november 2001 10:53
To: CF-Talk
Subject: Re: Javascript Vs. CF Form Validation


Leaving aside the validation issues, I like CF Form and CF input because
I
don't have to put
all those <cfoutput>tags around variables on big update forms..

Tris


----- Original Message -----
From: "BILLY CRAVENS" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, November 08, 2001 11:16 PM
Subject: Re: Javascript Vs. CF Form Validation


> I understand where you're coming from - just came out wrong, I
suppose.
If
> CFForm doesn't do what you need, you should write you're own
JavaScript -
> but on the flip side, always do server-side validation - even if you
can
> write JS that does the same thing.
>
> ----- Original Message -----
> From: "Mookie Bear" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, November 08, 2001 4:59 PM
> Subject: Re: Javascript Vs. CF Form Validation
>
>
> > I'm not against server-side validation.   in fact i use it alot.
it's
> just
> > that when i was a beginner I would choose it over simple javascript
that
> > couldnt be done with CFFORM.  There were times where javascript was
better
> > for the job, but i went for server side instead cuz i didnt wanna
learn
> > jaavscript.  So i took a wild guess that most of yall were prolly
like
me
> eh
> > hehe.  Please dont take it personal
> >
> > also, it is true what you say, people do turn off their javascript!
So
i
> > use both kinds of validations even though the server side is always
the
> sure
> > way
> >
> >
> >
> >
> >
> >
> >
> >
> > >From: "BILLY CRAVENS" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: CF-Talk <[EMAIL PROTECTED]>
> > >Subject: Re: Javascript Vs. CF Form Validation
> > >Date: Thu, 8 Nov 2001 16:41:32 -0600
> > >
> > >I'd like to add a few additional reasons why.  To be honest, I've
never
> > >been
> > >a fan of the "real programmers don't do it this way" arguments.
> > >
> > >- additional time to load - CF has to dynamically build JS which
could
be
> > >already coded
> > >- limitations - There's certain things that CFForm can't do.  For
> example,
> > >CFForm allows you to make sure a field isn't blank, right?  What if
the
> > >user
> > >enters a space - this should be the same thing as a blank field,
but
> CFForm
> > >doesn't catch it.
> > >
> > >However, I've gotta disagree with your stance on server-side
validation.
> A
> > >well developed application performs BOTH client and server-side
> validation.
> > >(Depending on client-side validation is a BAD idea, since it's easy
to
> turn
> > >off JS, and anyone with marginal HTML knowledge can circumvent your
form
> > >pages to crash or exploit your pages)
> > >
> > >----- Original Message -----
> > >From: "Mookie Bear" <[EMAIL PROTECTED]>
> > >To: "CF-Talk" <[EMAIL PROTECTED]>
> > >Sent: Thursday, November 08, 2001 4:41 PM
> > >Subject: Javascript Vs. CF Form Validation
> > >
> > >
> > > > These are just my thoughts on the subject...
> > > >
> > > > Using CFFORM to validate your forms is the lazy/quick way to go.
If
> you
> > > > haven't started, I recommend that most people learn javascript
and
> build
> > >a
> > > > javascript template that validates a lot of things, such as
emails,
> > >numbers,
> > > > names, conditional stuff, and pretty much anything you want.
Then
if
> > >you
> > > > want a form on your page validated just write a one liner to
pass
that
> > >form
> > > > value to the javascript template you built and have it
validated.
You
> > >can
> > > > use this tmeplate for all of your projects!  I found it very
helpful!
> > > > CFFORM is an excuse not to learn javascript!  In fact, I bet
some of
> you
> > > > would rather write lines and lines of CF server side code to
validate
> > > > something and then locate them to a new page based on
conditions,
> rather
> > > > than learn javascript and have it do the validation right on the
spot!
> > > >
> > > >
> > > >
> > >
> >
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to