Akopia Akopia Services

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

Re: [mv] Problem with Form/Search variable



******    message to minivend-users from Mike Heins <mike@minivend.com>     ******

Quoting Ramsey French (rammjet@mindspring.com):
> ******    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"
> 

Use [process-target] instead of [process-search], and make your 
mv_todo/mv_doit action "search".

In MV4, you will be able to update values explicitly with [update values].

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
Function in chaos, finish in        131 Willow Lane, Floor 2  | ||  _ \
style. -- Unknown                   Oxford, OH  45056         | || |_) |
                                    <mikeh@minivend.com>     |___|  _ <
                                    513.523.7621 FAX 7501        |_| \_\
-
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


Search for: Match: Format: Sort by: