That's a great work around, bit tedious, but it will work. Thanks:)
----- Original Message ----- From: "Mark Smyth" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Wednesday, March 02, 2005 2:05 AM Subject: RE: Setting validation order when validating via CFINPUT > Hi > > Since cfform is simply creating javascript validation on the fly, you could > do the following: > > View the source in the page, you'll see that cfform creates a javascript > method which is then called via a <form onsubmit"...."> tag. > > Basically you could take that javascript and HTML source (you only need the > form and the javascript), put it in a cfm or html page and it'll still work > fine. > > Once it'll directly in the page, you can change the validation order within > the method as you like. > > A bit "around the houses" but it'll work. Otherwise of course you could > always write the validation yourself :) > > hth > Mark > > > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 02 March 2005 07:41 > To: CF-Talk > Subject: Setting validation order when validating via CFINPUT > > Hi, does anyone know how to set the validation order, when doing validation > with CFINPUT inside CFFORM? > > I have 5 fields. > > The first at top of form is FIRSTNAME. > > Then LAST NAME. > > The last is ZIPCODE. > > But Cold Fusion tries to validate zipcode first arbitrarily, then another > field, but in no particular order. > > This is a pain in the ass and looks unprofessional. Obviously you want to > ask for the first field before the person can move onto the next one. > > Does anyone know how to pull this off, so it asks for FIRSTNAME info first, > then LAST NAME then ZIPCODE? > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197085 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

