MiniVend Akopia Services

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

(Possible) bug with "mv_click_map"



Hi all,

I discovered a strange behaviour of  "mv_click_map" . I use it in order to 
let users select/delete a shopping cart. I set 2 one-click variables, and 
the following form:


  	<form name="carts" action="[process-target]" method='POST'>

		[set Select]
		[userdb function=get_cart nickname="[value c_nickname]"]
		[/set]
		
		
		[set Delete]
		[userdb function=delete_cart nickname="[value c_nickname]"]
		[/set]

		<input type="hidden" name="mv_click_map" value="Select">	
		<input type="hidden" name="mv_click_map" value="Delete">	

                      <INPUT TYPE=radio NAME="c_nickname" VALUE="a">
                      <INPUT TYPE=radio NAME="c_nickname" VALUE="b">
                      <INPUT TYPE=radio NAME="c_nickname" VALUE="c">
	

		 <input type="image" src="Select.gif" name="mv_click.Select" ><br>
                      <input type="image" src="Delete.gif" 
name="mv_click.Delete" ><br>
  	
	</form>

It works, but the value of c_nickname is ALWAYS the previously selected value:
step 1: I select a and I click on Select -> I get an empty cart
step 2: I select b "          "            "   -> I get the cart a
step 3: I select c "          "            "   -> I get the cart b

It's the same when deleting. When printing the [value c_nickname] on the 
screen i get the good one, so I don't understand where MV looks for his 
cart . (It works too using normal buttons)

Nathan

Nathan ZYLBERSZTEJN
G.S.M:+32/(0)75-97-91-72
E-mail:zyloo@zylooplanet.net
____________________
ZylooPlaNet

79 rue Guillaume STOCQ
1050 BRUXELLES
Tel./Fax.: +32/2-646-77-46

Hébergez gratuitement le site de votre entreprise

http://www.zylooplanet.net



Search for: Match: Format: Sort by: