Examine the formurl2attributes tag. There is a section in the newest
version that allows you to use images as submit buttons:
>From the formurl2attributes file:

This is so that you can have multiple type="image" buttons on the same
page, if  you name the button name="fuseaction_[the value you want]" it
will set the fuseaction to that value.

Ian

"Geoffrey V. Brown" wrote:
> 
> Hi,
> I know this probably should go to the fusebox list, however, I've been
> having problems posting to it.  Maybe one of you could give me a hand with
> the problem below...
> 
> I have a project that requires that form submit buttons use images.  This
> creates a problem when trying to make this app fusebox compliant.  In normal
> situations, I would do the following using a submit button:
> 
> <input type="submit" name="fuseaction" value="dothis">
> Returns: #form.fuseaction# = dothis
> 
> However, given that I have multiple image submits in a single form, each
> must have a separate name.  As most of you know, you can not assign an
> explicit value to an image submit, as it returns mouse coordinates as the
> form value.  Example:
> 
> <input type="image" src="myimage.gif" name="fuseaction" alt="myimage"
> height="10" width="10">
> Returns: form.fuseaction.x = 4 (any number) and form.fuseaction.y = 9 (any
> number).
> 


-- 
Ian Potts
CenterGate Research Group, LLC.
http://www.centergate.com
"Technology so advanced, even we don't understand it!"(SM)
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to