: Form Validation Custom Tag
You could create a CFC that does all your validation, and use the same
CFC for client side validation (via AJAX) and server side.
Ajax or not, the idea is that I consider particularly awkward and cumbersome
to interrogate the server just to confirm that a string
]
Sent: 15 October 2006 22:47
To: CF-Talk
Subject: Re: Form Validation Custom Tag
You could create a CFC that does all your validation, and use the same
CFC for client side validation (via AJAX) and server side.
Ajax or not, the idea is that I consider particularly awkward and
cumbersome
you doing this, it is just Javascript after all.
Russ
-Original Message-
From: Teddy Payne [mailto:[EMAIL PROTECTED]
Sent: 16 October 2006 13:15
To: CF-Talk
Subject: Re: Form Validation Custom Tag
I am not sure advocating the reduction to one level is all accepted. AJAX
validation
As an AJAX call only sends/returns a very small amount of data, it is
very
quick,
The overhead is not caused by the amount of data, but just by the operation
of calling the server. And also the fact that the server now has the
overhead instead of the user.
and is still quicker than server
Schneegans [mailto:[EMAIL PROTECTED]
Sent: 15 October 2006 22:47
To: CF-Talk
Subject: Re: Form Validation Custom Tag
You could create a CFC that does all your validation, and use the
same
CFC for client side validation (via AJAX) and server side.
Ajax or not, the idea is that I
).
You cannot execute CFML code on the clients, and you cannot execute
Javascript serverside.
RUss
-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: 16 October 2006 13:41
To: CF-Talk
Subject: Re: Form Validation Custom Tag
As an AJAX call only sends/returns a very
The AJAX path would not fail twice. On the server side validation you would
be calling the CFC directly not making an ajax call.
Russ
-Original Message-
From: Teddy Payne [mailto:[EMAIL PROTECTED]
Sent: 16 October 2006 13:52
To: CF-Talk
Subject: Re: Form Validation Custom Tag
Snake,
I
-Original Message-
From: Teddy Payne [mailto:[EMAIL PROTECTED]
Sent: 16 October 2006 13:52
To: CF-Talk
Subject: Re: Form Validation Custom Tag
Snake,
I did not miss your point.
I was simply pointing out that when the AJAX path fails, you execute the
same code when the action page
so are you suggesting DO NOT DO SERVER SIDE
VALIDATION if it causes any overhead?
Actually not, what I do is:
- for the public site, I do not count on client having the visitor
Javascript enabled
(the site will look clumsy for the visitor, but still functional,
and it's HIS problem)
so
Hi: I prefer server side validation with all form field types. Email, date,
numeric and Is there a reliable one?
thanks
benign
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date
I'd rather have just server side than just client side.
There are things indeed that can only be done on server side, like
verifying the existance
of some data in a database, but most of the time, data validation can be
done client side,
and when it can be done client side, it is much better.
Just to validate that you're suggeting to use client-side validation
IN ADDITION to server-side validation, correct?
On 10/15/06, Claude Schneegans [EMAIL PROTECTED] wrote:
I'd rather have just server side than just client side.
There are things indeed that can only be done on server side,
Whenever doing client side, always also do server side. The only excuse I
could see around this is if you had your forms setup to not submit except
through javascript forcing it to be working on the clients machine. Even
that excuse does not hold much for me.
In regards to what Ali stated
IN ADDITION to server-side validation, correct?
Sure: most of validation can and should be done client side.
There are only few exceptions that needs server assistance, like for
instance
a new use creates a code for him. One has to check that this code is not
already
used by somebody else.
You could create a CFC that does all your validation, and use the same CFC
for client side validation (via AJAX) and server side.
Russ
-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: 15 October 2006 20:45
To: CF-Talk
Subject: Re: Form Validation Custom Tag
You could create a CFC that does all your validation, and use the
same CFC
for client side validation (via AJAX) and server side.
Ajax or not, the idea is that I consider particularly awkward and
cumbersome to
interrogate the server just to confirm that a string is indeed an
integer value, or
Validation Custom Tag
IN ADDITION to server-side validation, correct?
Sure: most of validation can and should be done client side.
There are only few exceptions that needs server assistance, like for
instance a new use creates a code for him. One has to check that this code
is not already used
Hi everybody:
Is there any reliable, complete form validation custom tag?
Thanks
Benign
Massimo Foti has a pretty good form validation library at
http://www.massimocorner.com/validator/, from the web site:
The TMT validator is a JavaScript library for form validation. It was developed
Hi everybody:
Is there any reliable, complete form validation custom tag?
Thanks
Benign
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered
From: Ali Majdzadeh [EMAIL PROTECTED]
Hi everybody:
Is there any reliable, complete form validation custom tag?
Thanks
Benign
Form validation is pretty generic... what kinds of validations do you need
to do? No blank fields? Check dates? Ensure one and only one checkbox is
checked
I have heard good reviews about qForms.
Thanks
On 10/14/06, Mike Tangorre [EMAIL PROTECTED] wrote:
From: Ali Majdzadeh [EMAIL PROTECTED]
Hi everybody:
Is there any reliable, complete form validation custom tag?
Thanks
Benign
Form validation is pretty generic... what kinds
Tangorre [EMAIL PROTECTED] wrote:
From: Ali Majdzadeh [EMAIL PROTECTED]
Hi everybody:
Is there any reliable, complete form validation custom tag?
Thanks
Benign
Form validation is pretty generic... what kinds of validations do you
need
to do? No blank fields? Check dates? Ensure
22 matches
Mail list logo