We ran in this: MM has changed the way cfform/cfinput validations are done.
In CF7 the validation method can be specified at the field level; the possible values are: - onsubmit - field validation runs when form is submitted (this is the default, as in previous versions) - onblur - field validation runs when field loses focus - onserver - field validations run on server - generic message displayed for validation failures If the cfform does not have an onsubmit event, CF inserts one that calls the form validation routines. This behaviour is the same as previous versions. However, if the cfform already has an onsubmit event, the CF-generated validation code is *ignored*. Previous versions would replace your onsubmit event with the CF onsubmit and then append your onsubmit code to the end of the form validation code. I don't think this is right, but we work around this by specifying validation at the field level: i.e. validateAt="onblur,onserver". This will cause the CF field validation to run when the field loses focus. The CF field validation also runs on the server. This is necessary because even though the validation runs when the field loses focus, there's nothing to stop you from ignoring the error. In previous versions, the CF form validation code would return false and the form submit would be aborted. Lorne -----Original Message----- From: Eddie Awad [mailto:[EMAIL PROTECTED] Sent: July 6, 2005 13:58 To: CF-Talk Subject: Re: What breaks during upgrade from 6.1 to 7? On 7/6/05, Claremont, Timothy <[EMAIL PROTECTED]> wrote: > I am going to install CF7 standard on my 6.1 test server today. I will > then be going over the site to see that everything is working as it > should. If all goes well I will repeat the process on my production > server. For due dilligence I need to visit virtually every part of the > site to confirm functionality, but what functions are MOST likely to > cause me grief, so I can approach those areas first? Here is what I ran into: http://awads.net/wp/2005/06/29/cflocation-behavior-change-in-cfmx7/ Other than that, nothing broke. In fact, because CFMX7 has some nice new features, I have spent more time modifying pages to take advantage of the new version's capabilities than to fix things. -- Eddie Awad. http://awads.net/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211289 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

