[ic] Images instead of Form submit buttons
Zachary Matthews
zac@mediapc.com
Mon, 20 Nov 2000 12:09:04 -0800
I have seen this question on archived mail lists, but I have not see it
successfully answered. Please advise!
I am using images instead of the standard form submit buttons. I keep
running into problems trying to set mv_click and mv_check, and I have
tried all kinds of solutions to no avail. Has anyone solved this
problem?
Here is what works:
<input type="submit" NAME="mv_check" value="Log In">
[set Log In]
[if session logged_in]
mv_nextpage=index
[else]
mv_nextpage=login
[/else]
[/if]
[/set]
Here is what I want to do (none of these attempts successfully set
mv_check):
A)
<input type="image" src="submit.gif" name="mv_check" value="Log In">
B)
<input type="hidden" name="mv_check" value="">
<input type="image" src="submit.gif"
onClick="this.form.mv_check.value='Log In'; this.form.submit();">
C)
<input type="hidden" name="mv_check" value="">
<a href="javascript:void 0" onClick="this.form.mv_check.value='Log
In'; this.form.submit(); return(false);"><img src="submit.gif"></a>
"
D)
[button
text="Log In"
src="submit.gif"
hidetext=1
form="logform"
]
mv_check="Log In"
[/button]
E)
[button
text="Log In"
src="submit.gif"
hidetext=1
form="logform"
]
[if session logged_in]
mv_nextpage=index
[else]
mv_nextpage=login
[/else]
[/if]
[/button]
I am running out of ideas... and starting to run out of hair to pull...
please help!
Thanks.