Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [ic] Images instead of Form submit buttons



if you use input type="image" name="mv_check"
it generates two variables:
mv_check.x and mv_check.y
pointing to the location where you clicked on the image,
it doesn't generate mv_check

Zachary Matthews wrote:

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

C)
    <input type="hidden" name="mv_check" value="">
    <a href="javascript:void 0" ><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

-- 
 Marcel Montes [marcel(at)multimake(dot)com] - Programmer  
 "If our brain were so simple that we could understand it, 
 we would be so stupid that we couldn't do so"
-------------------------- EOF ----------------------------
 
Search for: Match: Format: Sort by: