[ic] Images instead of Form submit buttons
Cameron B. Prince
cameron@akopia.com
Mon, 20 Nov 2000 15:03:52 -0600
Well, here's one from a working catalog:
<FORM ACTION="[process secure=1]" METHOD=POST name="login">
<INPUT TYPE=hidden NAME=mv_click VALUE=Login>
<INPUT TYPE=hidden NAME=mv_todo VALUE=return>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE="account">
[button
text="Log In"
src="navigation/loginswirl.gif"
width="78"
height="32"
hidetext=1
form=login
]
[if session logged_in]
mv_nextpage=account
[else]
mv_nextpage=login
[/else]
[/if]
[/button]
So your E was very close. The only thing I can think of is your form wasn't
named "logform"...
Cameron
-----Original Message-----
From: interchange-users-admin@minivend.com
[mailto:interchange-users-admin@minivend.com]On Behalf Of Zachary
Matthews
Sent: Monday, November 20, 2000 2:09 PM
To: interchange-users@minivend.com
Subject: [ic] Images instead of Form submit buttons
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.
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users