> I am noticing that if you use CFFORM and then CFINPUT or 
> CFSELECT and specify a field to be "Required" that having a 
> Cancel submit button is not possible.  It will ask for all 
> required fields before you can click on Cancel.  
> Kind of defeats the point of Cancel.  Any work arounds?  
> Suggestions on how to deal with this (other than not to use 
> CFINPUT, etc.)

Maybe, instead of using a submit button to provide "cancel" functionality,
use INPUT TYPE="button". You'll have to write the appropriate code to make
the magic happen, but you'd simply avoid submitting the form that way.

<input type="button" onclick="location.href='myotherpage.cfm';">

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to