In <[EMAIL PROTECTED]>, =?iso-8859-1?q?
Ins=20Ins?= ([EMAIL PROTECTED]) in a fit of unbridled passion,
wrote:
> Hi,I want to submit a form by using img.But the name
> fileds do not pass to the action page:
>
> <form action="actionpage.cfm" method="post">
>
> <input NAME="back" VALUE="back" type="image"
> src="back.gif" alt="back">
>
> <input type="image" name="continue" src="continue.gif"
> alt="continue" VALUE="continue">
> </form>
>
> In the next actionpage.cfm, I check
> isDefined("back")
> and isDefined("continue")
> all get 'NO',not exsist.
>
> How to make it work?
Sorry, I should have actually read your code before replying.
<input type="image"> fields do NOT get passed. Use something like
<input type="hidden" name="direction"> and use Javascript in the <input
type="image"> along the lines of
"onClick="document.theForm.direction.value='back'" (or forward)
HTH
-R
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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.