<input type="image" src="submit.gif"> instead of: <a
href="javascript:document.quickcontact.submit()"><img src="submit.gif"
border="0" width="72" height="19"></a> - it acts just like a submit button.

Joshua Miller
Web Development::Programming
Eagle Technologies Group, Inc.
www.eagletgi.com
[EMAIL PROTECTED]

-----Original Message-----
From: Don Kiggins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 7:59 AM
To: CF-Talk
Subject: Image button submition


Can anyone tell me how to set a image for a submition button while
using CF validation on the form fields.

Right now I'm using:

<cfform name="quickcontact" action="formprocess.cfm" method="POST">

<input type="text" name="name" size="8" required="yes" message="Please
enter your Name.">
<input type="text" name="email" size="8" required="yes"
message="Please enter your Email.">

<a href="javascript:document.quickcontact.submit()">
  <img src="submit.gif" border="0" width="72" height="19"></a>

</cfform>

I can submit it now with nothing in the fields and it goes through.
Any ideas?


Thanks,

Don
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to