[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Post submit processing
****** message to minivend-users from Mike Heins <mikeh@minivend.com> ******
Quoting Nick Pleis (npleis@saratogaweb.com):
> Hey,
>
> it's my understanding that if I do something like:
>
> [set myVar]
> [query sql="update myTable set values="something"]
> [/set]
Yes, but syntax must be valid.
[set myVar]
sqlresult=[query sql="update myTable set values='something'"][/query]
[/set]
The text output of mv_click is used to set form variables.
>
> and then later
>
> <FORM ACTION=[process-target] METHOD=POST>
> <!-- STUFF -->
> <INPUT TYPE=hidden NAME=mv_click VALUE="myVar">
> <INPUT TYPE=hidden NAME=mv_doit VALUE="return">
> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="index">
> </FORM>
>
> that upon submitting that form..the stuff contained in "myVar" would be
> interpolated and executed..is this correct? If I set a text field...like:
>
> <INPUT TYPE=text NAME=r_testField VALUE="0000">
>
> at what point would [value r_testField] become valid? Would it be in time for
> the mv_click method to be invoked?
No. It would be valid in mv_check, or you can use [cgi r_testfield].
--
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>
If you like what you're gettin', keep doin' what you're doin'. -- Hector
-
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