Ok let me be a little more specific:-)

<form action="formaction.cfm" method="post">
        <input type="Get Names" name="action" value="GetNames">
        <input type="Search" name="action" value="Search">
</form>

Now the page formaction.cfm is my action page that controls all the actions
that need to be handled for this section. The idea is to cut down on the
number of files and code and reuse as much as possible. Now as I said this
works well for the above code, but I need to use the same action=????? to
control what has been pushed on the page to the ntake control of the action.

With your method this will not work for me and the methodology that the site
exists under, and I am not going back and rewriting months of work to change
it.

Is there a simple solution, I know there is and for the life of me I have
done it but I don't recall how I did. I know it was something similar to
Fusebox in concept:-)


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 02 August 2000 13:43
To: [EMAIL PROTECTED]
Subject: Re: Multiple actions from a Form?




Try doing this:

<form name="theform" method="post">
<input type="image" src="xxxx.gif"
onClick="document.theform.action=file.cfm;
document.theform.submit();">
<input type="image" src="fffff.gif"
onClick="document.theform.action=file2.cfm;
document.theform.submit();">
</form>

--------
Rob Keniger


----------------------------------------------------------------------------
--
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.
------------------------------------------------------------------------------
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