[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] Problem with Form/Search variable
****** message to minivend-users from Ramsey French <rammjet@mindspring.com> ******
Hi,
I'm hoping someone can help me with this. It should be simple, but it is
kicking my butt.
On my site, I'm using several nested frames. To reuse code and keep them
all glued together, I'm passing a "state" variable around. The state
variable is used to gather state information from a table in memory.
When I use the Search form on the main page of the Simple demo, I am unable
to recover the variable after the search.
As the user comes into the store, I have [set mv_put_session]Yes[/set]
to keep my scratch variables persistent.
I have tried the following:
a) In the search form, I have added
<INPUT TYPE="hidden" NAME="my_state" VALUE="9">
But, going into the subsequent frameset, [value my_state]
does not contain "9"
b) I have tried using mv_click
[set Search]my_state=9[/set]
(in the form:)
<INPUT TYPE="submit" NAME="mv_click" VALUE="Search">
Neither [scratch my_state] nor [value my_state]
contain "9"
c) And I have tried a subroutine:
[set my_routine]
return 9;
[/set]
(in the form:)
<INPUT TYPE=hidden NAME=mv_subroutine VALUE=my_routine>
[data session return_value] does not contain "9"
Any suggestions?
Thanks,
Ramsey French
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list