Re: Form Validation Issue using cfinput AND jquery

2011-02-02 Thread Azadi Saryev
cf forms CAN validate cfselect boxes - you just have to code them properly: the default/invalid option MUST have its value set to a single space " " ( that is "[space]" ) a common mistake is to set the value to an empty string, which 'breaks' cf's built-in validation: any value other than a sin

Re: Form Validation Issue using cfinput AND jquery

2011-02-01 Thread Michael Grant
I'm not sure that's correct. Using the same scenarios (and assuming the jquery validation is defined in onsubmit with return specified) here's my understanding: CFValidation = false - validation ends. > JQuery = doesn't get processed. > Form Doesn't Submit > > CFValidation = true > JQuery = false

RE: Form Validation Issue using cfinput AND jquery

2011-02-01 Thread DURETTE, STEVEN J (ATTASIAIT)
is, if CF or JQuery is false return false, if both true return true. Steve -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Tuesday, February 01, 2011 12:16 PM To: cf-talk Subject: Re: Form Validation Issue using cfinput AND jquery I generally try to roll my own

Re: Form Validation Issue using cfinput AND jquery

2011-02-01 Thread Michael Grant
I generally try to roll my own validation and just use instead. You can much nicer validation. However with that being said I believe whatever you define in onSubmit="return bla" will only fire if the cf validation passes. Ray explains it here: http://www.coldfusionjedi.com/index.cfm/2008/1/11/

Re: Form validation question

2009-10-15 Thread Cutter (ColdFusion)
The JQuery Validate plugin has a method whereby, aside from any standard checks you put in place (not empty, alphanumeric only, etc), it will make an Ajax request and assign a field it's validation status based upon the Ajax status return. http://bassistance.de/jquery-plugins/jquery-plugin-val

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) s

Re: Form Validation Custom Tag

2006-10-16 Thread Teddy Payne
ctly 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 did not miss your point. > > I was simply

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 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

Re: Form Validation Custom Tag

2006-10-16 Thread Teddy Payne
r than server side only validation if > > the client has Javascript enabled. > > It means you do not have to write two separate validation routines, > > and if you are using AJAX in your site anyway, it will save code and > > loading time as well. > > > > Russ

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 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 is

Re: Form Validation Custom Tag

2006-10-16 Thread Teddy Payne
-Original Message- > From: Claude 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 validati

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 str

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 with

Re: Form Validation Custom Tag

2006-10-15 Thread Aaron Rouse
006 20:45 > To: CF-Talk > Subject: Re: Form 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

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, o

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
>>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. On

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 wantin

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 si

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 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 ColdFus

Re: Form Validation Custom Tag

2006-10-14 Thread Aaron Rouse
Yeah but that is a JavaScript API that allows you to do client side form validation. There are many of those APIs out there to pick from. A custom tag solution, do not think one exists or really could that would work all that well. Would imagine the question is towards a server side validation be

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

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 in

Re: Form Validation

2006-10-05 Thread Ali Majdzadeh
Hello dear sir: I sent you and email and attached the whole pages and wrote the exact problem that happens when I use TMT validation with the coldfusion code. Thanks Benign ~| Introducing the Fusion Authority Quarterly Update. 80

Re: Form Validation

2006-10-05 Thread Massimo Foti
> Thanks for the great suggestion and links of custom error of TMT. It is > very easy and works fine for me but for some reasons that I really don't > know my forms don't work well after I apply the code to them. Not all of > them have such a problem. Just some that has some "cfif defined" forms >

Re: Form Validation

2006-10-05 Thread Mary Jo Sminkey
> Try QForms from PengoWorks.com. I absolutely love it for client-side > validation. I love qForms as well and use it extensively. However, the current version does only use pop-ups. He had a version in development that could display the validation errors in-line but not sure what happened to t

Re: Form Validation

2006-10-05 Thread Ali Majdzadeh
Hi der sir: Thanks for the great suggestion and links of custom error of TMT. It is very easy and works fine for me but for some reasons that I really don't know my forms don't work well after I apply the code to them. Not all of them have such a problem. Just some that has some "cfif defined" f

Re: Form Validation

2006-10-02 Thread Rey Bango
Try QForms from PengoWorks.com. I absolutely love it for client-side validation. Rey... Ali Majdzadeh wrote: > Hi everybody: > I need an easy way for form validation in my cf application. I know the > requirment option in cfform but I need one that writes beside the form not as > a popup. Is t

Re: Form Validation

2006-10-02 Thread Massimo Foti
> As a matter of fact I need something like zapatec > http://www.zapatec.com/website/main/ (the one that shows the error beside > the field) not the one that pops out in a window. Or some server side if > possible at the submitting the form. TMT looks very great and useful but I > need one that sho

Re: Form Validation

2006-10-02 Thread Ali Majdzadeh
Hi: As a matter of fact I need something like zapatec http://www.zapatec.com/website/main/ (the one that shows the error beside the field) not the one that pops out in a window. Or some server side if possible at the submitting the form. TMT looks very great and useful but I need one that shows

RE: Form Validation

2006-10-02 Thread Andy Matthews
Do you need server side validation or client-side validation? If you're looking for client-side then look no further than TMT-validator by our very own Massimo Foti. http://www.massimocorner.com/validator/ -Original Message- From: Ali Majdzadeh [mailto:[EMAIL PROTECTED] Sent: Monday, Oc

Re: Form Validation

2006-10-02 Thread Massimo Foti
> I need an easy way for form validation in my cf application. I know the > requirment option in cfform but I need one that writes beside the form not > as a popup. Is there any easy way. I have seen some in AJAX but couldn't > find any IDE for that. You could give this one a try: http://www.massi

Re: Form Validation

2006-10-02 Thread Teddy Payne
Cfform has a format attribute for "flash." Flash form validation is a inline validation taht highlights the fields required and puts a red glow on them. You can then use actionscript to create popups if you want after the fact. Teddy On 10/2/06, Ali Majdzadeh <[EMAIL PROTECTED]> wrote: > > Hi

Re: Form Validation

2006-10-02 Thread Jake Churchill
Server side validation and post to the same script Ali Majdzadeh wrote: > Hi everybody: > I need an easy way for form validation in my cf application. I know the > requirment option in cfform but I need one that writes beside the form not as > a popup. Is there any easy way. I have seen some in

Re: Form Validation Message Question

2006-05-31 Thread Josh Nathanson
b" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Wednesday, May 31, 2006 3:31 PM Subject: RE: Form Validation Message Question >> 1. If I leave the field blank, I get the correct error message. >> 2. If I enter invalid text ("Bob@@", for example) - I get t

Re: Form Validation Message Question

2006-05-31 Thread Casey Dougall
You can get the cfform.js file you need if you are running coldfusion developer. Just upload it to a directory and call that On 5/31/06, Les Mizzell < [EMAIL PROTECTED]> wrote: > > Casey Dougall wrote: > > Oops. You actually need the cfform.js file to do that type of > validation. > > you can co

Re: Form Validation Message Question

2006-05-31 Thread Les Mizzell
Casey Dougall wrote: > Oops. You actually need the cfform.js file to do that type of validation. > you can copy that from CFIDE/Scripts folder Other files in that > directory are needed for flash forms as well. It's on a shared server, so I don't have that kind of access. I also just remembe

Re: Form Validation Message Question

2006-05-31 Thread Casey Dougall
Oops. You actually need the cfform.js file to do that type of validation. you can copy that from CFIDE/Scripts folder Other files in that directory are needed for flash forms as well. ~| Message: http://www.houseoffusion.com/

Re: Form Validation Message Question

2006-05-31 Thread Casey Dougall
you need the scripts src set in your form tag because you don't have CFIDE mapped On 5/31/06, Les Mizzell <[EMAIL PROTECTED]> wrote: > > Munson, Jacob wrote: > > I thought of a couple of other things. Are you using flash/xml forms? > > Maybe if you send us your cfform tag, someone will

Re: Form Validation Message Question

2006-05-31 Thread Les Mizzell
Munson, Jacob wrote: > I thought of a couple of other things. Are you using flash/xml forms? > Maybe if you send us your cfform tag, someone will spot something. Standard looking cfform tag: Form is here: http://www.columbiacityjazz.com/infoQuest.cfm ~~~

RE: Form Validation Message Question

2006-05-31 Thread Munson, Jacob
I thought of a couple of other things. Are you using flash/xml forms? Maybe if you send us your cfform tag, someone will spot something. > -Original Message- > From: Munson, Jacob [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 31, 2006 4:32 PM > > > 1. If I leave the field blank, I ge

RE: Form Validation Message Question

2006-05-31 Thread Munson, Jacob
> 1. If I leave the field blank, I get the correct error message. > 2. If I enter invalid text ("Bob@@", for example) - I get the > "The value > entered in the field MyName is not correctly formatted for > the pattern > ^[a-zA-Z\s]+$." > > This happens in I.E., Firefox, and Netscape for me - W

Re: Form Validation Message Question

2006-05-31 Thread Les Mizzell
Munson, Jacob wrote: > I copied/pasted your exact code in a form and I got your message when I > put invalid text in the field: "You must enter your Name". There must > be something else wrong...what browser are you testing with Here's the weird part... 1. If I leave the field blank, I get the

RE: Form Validation Message Question

2006-05-31 Thread Munson, Jacob
I copied/pasted your exact code in a form and I got your message when I put invalid text in the field: "You must enter your Name". There must be something else wrong...what browser are you testing with? > -Original Message- > From: Les Mizzell [mailto:[EMAIL PROTECTED] > Sent: Wednesday,

RE: Form validation

2005-10-21 Thread Steve Milburn
but I don't have to know it's name? I'll keep working on it. Thank again -Original Message- From: John Wilker [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 3:23 PM To: CF-Talk Subject: Re: Form validation you could write a javascript validation script. So

RE: Form validation

2005-10-21 Thread Andy Matthews
How can you not know the name of the button? Even if the names are being generated dynamically, you can still pass that to a js function. -Original Message- From: Steve Milburn [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 11:35 AM To: CF-Talk Subject: RE: Form validation

Re: Form validation

2005-10-20 Thread John Wilker
you could write a javascript validation script. Something simple, just checking to see if the radiobuttongroup.checked == 'true' make your next button or whatever moves the user on to the next set of questions, check the validator script first. On 10/20/05, Steve Milburn <[EMAIL PROTECTED]> wrote

Re: form validation utilizing database field types/sizes/etc

2005-09-15 Thread S . Isaac Dealey
No worries. I'm always around if you have questions about it. :) I just wasn't sure if you'd seen the last post -- I figured you might have missed it in your inbox if you're like me and have hundreds of messages and end up deleting a lot of them unread. > Yeah, I read through it once already, but

Re: form validation utilizing database field types/sizes/etc

2005-09-15 Thread Mike Soultanian
Yeah, I read through it once already, but I'm not a big on java (just because I don't know it). But let me go read through it again. Mike S. Isaac Dealey wrote: >>> >>Do you look at the db type and then query it >>> >>accordingly? >>> >>>Actually not, this is the beauty of ODBC: it is (well >>

Re: form validation utilizing database field types/sizes/etc

2005-09-15 Thread S . Isaac Dealey
>> >>Do you look at the db type and then query it >> >>accordingly? >> >> Actually not, this is the beauty of ODBC: it is (well >> almost) DB >> independant. >> The only things that are DB dependent are a couple of >> things (flaws) not >> supported by some ODBC drivers. >> > This is what I was

Re: form validation utilizing database field types/sizes/etc

2005-09-15 Thread Claude Schneegans
>>I am trying to pull the metadata out of the database but it seems that Oracle and SQL don't support the same methods for querying that metadata. Sure. All this is non SQL standard, so every one is doing it HIS way, some are not even doing it. The advantage of doing it through ODBC like CFX_ODB

Re: form validation utilizing database field types/sizes/etc

2005-09-15 Thread Mike Soultanian
> >>Do you look at the db type and then query it accordingly? > > Actually not, this is the beauty of ODBC: it is (well almost) DB > independant. > The only things that are DB dependent are a couple of things (flaws) not > supported by some ODBC drivers. > This is what I was curious about. I

Re: form validation utilizing database field types/sizes/etc

2005-09-14 Thread Claude Schneegans
>>So how are you pulling your info? As I said I use CFX_ODBCinfo >> I'm guessing you're doing it all via odbc instead of java. Right, ODBCinfo was developped far before Allaire and MM went (crazy) with Java. I'm

Re: form validation utilizing database field types/sizes/etc

2005-09-14 Thread Dave Carabetta
On 9/14/05, Mike Soultanian <[EMAIL PROTECTED]> wrote: > I was wondering if there is a way to pull column information from oracle > to help with form validation. It would be really nice if I could set up > my database and then have coldfusion read the setup of my tables and > perform its form vali

Re: form validation utilizing database field types/sizes/etc

2005-09-14 Thread Mike Soultanian
Hey Claude, So how are you pulling your info? I'm guessing you're doing it all via odbc instead of java. Do you look at the db type and then query it accordingly? Thanks, Mike Claude Schneegans wrote: > I'm working on a db tool based on CFX_ODBCinfo > (see > http://www.contentbox.com/claude/

Re: form validation utilizing database field types/sizes/etc

2005-09-14 Thread Claude Schneegans
I'm working on a db tool based on CFX_ODBCinfo (see http://www.contentbox.com/claude/customtags/ODBCInfo/E/TestODBCInfo.cfm?p=hf ) It is able to generate source code for FORMs with many parameters set according to information about table, fields, etc. For example, MAXLENGTH are set automatically

Re: form validation utilizing database field types/sizes/etc

2005-09-14 Thread Aaron Rouse
I use some of these tables for a CFC that handles my insert/update/delete SQL statements. On 9/14/05, RADEMAKERS Tanguy <[EMAIL PROTECTED]> wrote: > > >I was wondering if there is a way to pull column information > >from oracle to help with form validation. It would be really > >nice if I coul

RE: form validation utilizing database field types/sizes/etc

2005-09-14 Thread RADEMAKERS Tanguy
apologies for the redundancy - hourly digests... so, euh, yeah: ME TOO!! /t >-Original Message- >Subject: form validation utilizing database field types/sizes/etc >From: "RADEMAKERS Tanguy" <[EMAIL PROTECTED]> >Date: Wed, 14 Sep 2005 19:16:44 +0200 >Thread: >http://www.houseoffusion.com

RE: form validation utilizing database field types/sizes/etc

2005-09-14 Thread S . Isaac Dealey
Tanguy said: > but i would have to go with Jim's suggestion to > use jdbc - more reusable across different db platforms. > The data dictionary contains wy more info, but > it's not stuff you need for form validation code. Mine actually... but Jim can get the credit for making sure I notic

RE: form validation utilizing database field types/sizes/etc

2005-09-14 Thread RADEMAKERS Tanguy
>I was wondering if there is a way to pull column information >from oracle to help with form validation. It would be really >nice if I could set up my database and then have coldfusion >read the setup of my tables and perform its form validation >based on that. Oracle stores this kind of inf

Re: form validation utilizing database field types/sizes/etc

2005-09-14 Thread S . Isaac Dealey
Douglas Knudsen wrote: > onTap? What's that ;) I think it might have something to do with beer. :) s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.co

Re: form validation utilizing database field types/sizes/etc

2005-09-14 Thread S . Isaac Dealey
> Ultimately, I'd like to make a custom tag that handles > this as I hate building in form validation. Yep... me too... :) That was the reason behind all the extra form tools in my html library and why they were given db hooks, so I'd have a quick/easy way to handle forms consistently across proje

Re: form validation utilizing database field types/sizes/etc

2005-09-14 Thread S . Isaac Dealey
> I was wondering if there is a way to pull column > information from oracle > to help with form validation. It would be really nice if > I could set up > my database and then have coldfusion read the setup of my > tables and > perform its form validation based on that. > I did some research on t

RE: form validation utilizing database field types/sizes/etc

2005-09-14 Thread Dave.Phillips
There may be another way, but I know you can get field types, etc. from the ALL_TAB_COLUMNS table. SELECT column_name,data_length,data_type,nullable FROM ALL_TAB_COLUMNS WHERE TABLE_NAME = 'MYTABLE' You could use that information to build some validation based on the values returned. Dave --

Re: form validation utilizing database field types/sizes/etc

2005-09-14 Thread Douglas Knudsen
onTap? What's that ;) You can use the data dictionary in Oracle for this. http://www.ss64.com/orad/ lists bunches of stuffs on it IIRC, the one you will need is http://www.ss64.com/orad/ALL_TAB_COLUMNS.html DK On 9/14/05, Jim Davis <[EMAIL PROTECTED]> wrote: > > -Original Message- > >

RE: form validation utilizing database field types/sizes/etc

2005-09-14 Thread S . Isaac Dealey
>> -Original Message- >> From: Mike Soultanian [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, September 14, 2005 12:19 PM >> To: CF-Talk >> Subject: form validation utilizing database field >> types/sizes/etc >> >> I was wondering if there is a way to pull column >> information from oracle t

Re: form validation utilizing database field types/sizes/etc

2005-09-14 Thread Mike Soultanian
So, I did some more digging on google and I found the following: select column_name, data_type, data_length, data_precision, data_scale from ALL_TAB_COLUMNS where table_name = 'USERS' and column_name = 'USER_ID' And with CFDUMP, it returned something like this (kinda wrapped): COLUMN_N

RE: form validation utilizing database field types/sizes/etc

2005-09-14 Thread Jim Davis
> -Original Message- > From: Mike Soultanian [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 14, 2005 12:19 PM > To: CF-Talk > Subject: form validation utilizing database field types/sizes/etc > > I was wondering if there is a way to pull column information from oracle > to help wit

RE: form validation problems

2004-08-19 Thread d.a.collie
>> Then you don't desagree, you agree ;-) I do agree with the more client side the better... I know it's pretty bad, but it's usually my deadlines that define how much client side validation I get to put in. Cheers Claude :) -- dc [Todays Threads] [This Message] [Subscription] [Fas

Re: form validation problems

2004-08-19 Thread Claude Schneegans
>>Must disagree... the more client side validation, the better for the end >>user and a better app you will build... Then you don't desagree, you agree ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please

Re: form validation problems

2004-08-19 Thread Claude Schneegans
>>When a user turns off _javascript_, it's their preference, and very much your problem. Ok, I admit I almost exclusively write intranet applications that always require _javascript_ enabled, It is part of the specifications of the product, otherwise the application will simply not run. I agree t

Re: form validation problems

2004-08-19 Thread Claude Schneegans
>>But once that is done it should be validated again on server side. Ah ok, I agree with that. Validate on the server, but validate first client side. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send

Re: form validation problems

2004-08-19 Thread Joe Rinehart
Claude, When a user turns off _javascript_, it's their preference, and very much your problem.  If you're using at as the sole means to make sure a string is a string and a number is a number, you're likely to begin getting emails about users encountering ColdFusion errors. >I can write code in _

Re: form validation problems

2004-08-19 Thread Ewok
by you that his IT department is going to have change the way they do things because YOU have code in their network now that hinges on rather or not a USER end feature is on or off. more change for ya   - Original Message -   From: Claude Schneegans   To: CF-Talk   Sent: Thursday, Augus

RE: form validation problems

2004-08-19 Thread Micha Schopman
One of the most important rules in software development is not to trust user input. ever! _javascript_ is an excellent scripting language providing a user friendly 1st layer of notifying problems, fast, and responding to those problems with another piece of _javascript_. Whether is it displ

RE: form validation problems

2004-08-19 Thread d.a.collie
>> But most of the validation can be and SHOULD be done client side on the contrary. Must disagree... the more client side validation, the better for the end user and a better app you will build... But the most important validation is on the server... You can build something with only se

RE: form validation problems

2004-08-19 Thread Tangorre, Michael
> Well, is a user turns off his _javascript_, it's HIS problem, > and _javascript_ is so much used that chances he ever reaches a > page with a form are very low anyway. It actually becomes your problem. You have to clean up the mess if one should occur fomr someone circumventing your JS validat

Re: form validation problems

2004-08-19 Thread Claude Schneegans
>>Cos a user may have _javascript_ turned off... never trust the client One of the first thing I do in my apps is to check if the user has _javascript_ turned off. If yes, he his requested to turn it on. Gee, he can also close his Browser or pull the plug of his PC, the form won't work either. If

Re: form validation problems

2004-08-19 Thread Claude Schneegans
>>First and foremost, users can turn it off at will. Well, is a user turns off his _javascript_, it's HIS problem, and _javascript_ is so much used that chances he ever reaches a page with a form are very low anyway. >>Secondly, most JS validation is only written to validate type, not value. ???

Re: form validation problems

2004-08-19 Thread Ewok
 To: CF-Talk   Sent: Thursday, August 19, 2004 9:40 AM   Subject: RE: form validation problems   >> Why dont you use JS and let the client do all the validation?   Cos a user may have _javascript_ turned off... never trust the client   (well you know what I mean)   --   dc [Today

Re: form validation problems

2004-08-19 Thread Joe Rinehart
Hi Greg, Letting JS do all your validation is a Very Bad Idea. First and foremost, users can turn it off at will. Secondly, most JS validation is only written to validate type, not value. In general, you should apply validation on the server side that validates both the type of input, and that

RE: form validation problems

2004-08-19 Thread d.a.collie
>> Why dont you use JS and let the client do all the validation? Cos a user may have _javascript_ turned off... never trust the client (well you know what I mean) -- dc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: form validation problems

2004-08-19 Thread Greg Morphis
CTED] > > 205 Main Street > PO Box 143, Gore > Southland 9700 > Phone: (03) 203 > Fax: (03) 203 9900 > > > > > -Original Message- > From: Qasim Rasheed [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 19, 2004 3:14 PM > To: CF-Talk

RE: form validation problems

2004-08-18 Thread Mark Henderson
August 19, 2004 3:14 PM To: CF-Talk Subject: Re: form validation problems Pass the message with cflocation too        variables.msg  )#">     - Original Message - From: Mark Henderson <[EMAIL PROTECTED]> Date: Thu, 19 Aug 2004 12:43:32 +1200 Subject: form validation prob

Re: form validation problems

2004-08-18 Thread Qasim Rasheed
Pass the message with cflocation too        variables.msg  )#">     - Original Message - From: Mark Henderson <[EMAIL PROTECTED]> Date: Thu, 19 Aug 2004 12:43:32 +1200 Subject: form validation problems To: CF-Talk <[EMAIL PROTECTED]> I've recently revisited some form validation issues,

Re: Form validation

2003-02-23 Thread Jann VanOver
hip module. > > If there isn't a powerful server-side solution to validate forms, > converting client-side Javascript codes to CF codes will be most > preferable way for me. > > -Original Message- > From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: Sunday,

Re: Form validation

2003-02-23 Thread Matthew Walker
]> Sent: Monday, February 24, 2003 5:50 AM Subject: RE: Form validation > I prefer to start validation at server, and than do Javascript > equivalent. But I need reliable UDFs or Custom Tags, OR I can code all > of them, but I need a guide that shows me what is a valid e-mail addres

Re: Form validation

2003-02-23 Thread Matthew Walker
Apologies for the shameless promotion but there's also TerraForm, which handles server side validation. All the validating code is set up in UDFs so you can read and modify it. If you want client-side, it also integrates with qForms, generating qForms client side validation commands automatically.

RE: Form validation

2003-02-23 Thread S . Isaac Dealey
prone to > error. > hth > s. isaac dealey954-776-0046 > new epoch http://www.turnkey.to > lead architect, tapestry cms http://products.turnkey.to > tapestry api is opensource http://www.turnkey.to/tapi > certified advanced coldfusion 5 de

RE: Form validation

2003-02-23 Thread Murat Demirci
6:50 PM To: CF-Talk Subject: RE: Form validation I prefer to start validation at server, and than do Javascript equivalent. But I need reliable UDFs or Custom Tags, OR I can code all of them, but I need a guide that shows me what is a valid e-mail address and what is not. Client-side solution

RE: Form validation

2003-02-23 Thread Murat Demirci
unday, February 23, 2003 6:26 PM To: CF-Talk Subject: Re: Form validation FusionScript is designed to allow you to use reasonably simple ColdFusion tags (custom tags) to create client-side JavaScript code essentially using the same syntax you use for the rest of your ColdFusion code. I haven'

RE: Form validation

2003-02-23 Thread Murat Demirci
You are right. Wait for another mail from me. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 6:42 PM To: CF-Talk Subject: RE: Form validation Quoting Murat Demirci <[EMAIL PROTECTED]>: > > I know the FusionScript a lit

RE: Form validation

2003-02-23 Thread Jochem van Dieten
Quoting Murat Demirci <[EMAIL PROTECTED]>: > > I know the FusionScript a little, it is a rich tool. But I'm not sure > that it's security, has no bug. All software is either trivial or has bugs. Jochem ~| Archives: http://www.ho

RE: Form validation

2003-02-23 Thread Murat Demirci
x27;t guarantee this, does it? -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 5:45 PM To: CF-Talk Subject: Re: Form validation What do you mean? You mean, does it jack with the OS or files on the system? It does not. Check out the site, read t

Re: Form validation

2003-02-23 Thread S . Isaac Dealey
u mean, does it jack with the OS or > files on the system? > It does not. Check out the site, read the docs and you > will get a good idea > what it is and what it does. > - Original Message - > From: "Murat Demirci" <[EMAIL PROTECTED]> > To: "CF-Talk

Re: Form validation

2003-02-23 Thread Bruce Sorge
; <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 9:34 AM Subject: RE: Form validation > Is it secure? > > -Original Message- > From: Bruce Sorge [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 23, 2003 5:08 PM > To: CF-Talk > Subject: Re: Form validation > &

RE: Form validation

2003-02-23 Thread Murat Demirci
Is it secure? -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 5:08 PM To: CF-Talk Subject: Re: Form validation There is something out there called FusionScript. It is supposed to allow you to validate nearly every field type, and it is

  1   2   >