> Since I upgraded to CF MX7 auto-validation on my cfinput
> forms stops working, if I have my custom Javascript onSubmit handler
> Example:
> <script language="javascript">
> function checkFields() {
> alert('This validation should occurred after
> the CF validation.');
> }
> </script>
> <body>
> <cfform id="form1" name="myForm" method="post"
> onSubmit="return checkFields()" action=""> <table width="215"
> border="1">
Your custom function doesn't return a Boolean value. That doesn't have
anything to do with CF7, but any function used to cancel an event should
return a Boolean value.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/
WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303323
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4