[ic] Images instead of Form submit buttons

Zachary Matthews zac@mediapc.com
Mon, 20 Nov 2000 15:11:46 -0800


This seems strange, but it works when cookies are enabled, and fails 
when cookies are not enabled....  Netscape has been doing some other ve
strange things which I will try to document later....



> I know the button tag depends on Javascript. Is javascript enabled in your
> Netscape?
>
> I just tested with Netscape v4.7 on Windows and had no problems.
>
> 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 3:25 PM
> To: interchange-users@minivend.com
> Subject: Re: [ic] Images instead of Form submit buttons
>
>
> Cameron,
>
> I haven't checked this out on the PC, but on the MAC, this works only
> with IE.  It fails to set mv_nextpage when using Netscape on the MAC.
> Any other ideas?
>
> Thanks.
>
>> 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
>>
>>
>> _______________________________________________
>> Interchange-users mailing list
>> Interchange-users@www.minivend.com
>> http://www.minivend.com/mailman/listinfo/interchange-users
>>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users
>