** IMPORTANT **

Actually, image type form fields actually DO submit X and Y values with the
POST method.

Note that the X and Y values are sent as two separate fields -- the name of
the image field with a .x and .y append -- EXAMPLE:

first, the html form element:
    <input name="hello" type="image" src="something.gif">

and thento reference the x and y values in cold-fusion:
    x = #form.hello.x#
    y = #form.hello.y#

Just wanted to clear that up -- it's important to know, especially if you
use <CFINSERT> and tags of that ilk, since they may attempt to insert values
into columns which don't exist, triggering errors etc...  I don't ever use
CFINSERT, personally, but I've picked up projects half-way through that
did.)

--Brendan Avery / [EMAIL PROTECTED]

----- Original Message -----
From: "Allan Pichler" <[EMAIL PROTECTED]>
To: "CF-Server" <[EMAIL PROTECTED]>
Sent: Thursday, November 09, 2000 3:14 PM
Subject: RE: Can you use images for Clear and Submit buttons in CF?


> Yes they do return X & Y coordinates ... but only if the form method is
GET.
> Another way of using an image for a reset button is <A
> HREF="JavaScript:document.myform.reset();"><IMG ......>
>
> Allan Pichler
> CTO, Machine Dreams Inc.
>
> -----Original Message-----
> From: Dave Watts [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 09, 2000 10:52 AM
> To: CF-Server
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: Can you use images for Clear and Submit buttons in CF?
>
>
> > Remember to make your input value = submit
> >
> > <input type="image" src="artwork/peoplefinder-submit.png"
> >   width=146 height=31 border=0 ***VALUE="Submit"***>
>
> I don't think a value attribute is required for image input fields. Images
> return the x and y coordinates within the image that the user clicked on.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
> --------------------------------------------------------------------------
--
> --
> To unsubscribe, send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body or visit the list page at www.houseoffusion.com
>
> --------------------------------------------------------------------------
----
> To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com
>

------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to