RE: Form Validation Custom Tag

2006-10-16 Thread Snake
: 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

Re: Form Validation Custom Tag

2006-10-16 Thread Teddy Payne
] 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

RE: Form Validation Custom Tag

2006-10-16 Thread Snake
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

Re: Form Validation Custom Tag

2006-10-16 Thread Claude Schneegans
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

Re: Form Validation Custom Tag

2006-10-16 Thread Teddy Payne
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

RE: Form Validation Custom Tag

2006-10-16 Thread Snake
). 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

RE: Form Validation Custom Tag

2006-10-16 Thread Snake
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

Re: Form Validation Custom Tag

2006-10-16 Thread Teddy Payne
-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

Re: Form Validation Custom Tag

2006-10-16 Thread Claude Schneegans
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

Re: Form Validation Custom Tag

2006-10-15 Thread Ali Majdzadeh
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

Re: Form Validation Custom Tag

2006-10-15 Thread Claude Schneegans
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.

Re: Form Validation Custom Tag

2006-10-15 Thread Zaphod Beeblebrox
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,

Re: Form Validation Custom Tag

2006-10-15 Thread Aaron Rouse
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

Re: Form Validation Custom Tag

2006-10-15 Thread Claude Schneegans
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.

RE: Form Validation Custom Tag

2006-10-15 Thread Snake
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

Re: Form Validation Custom Tag

2006-10-15 Thread Claude Schneegans
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

Re: Form Validation Custom Tag

2006-10-15 Thread Aaron Rouse
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

Re: Form Validation Custom Tag

2006-10-15 Thread Larry Lyons
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

Form Validation Custom Tag

2006-10-14 Thread Ali Majdzadeh
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

Re: Form Validation Custom Tag

2006-10-14 Thread Mike Tangorre
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

Re: Form Validation Custom Tag

2006-10-14 Thread Qasim Rasheed
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

Re: Form Validation Custom Tag

2006-10-14 Thread Aaron Rouse
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