[ic] form to both log in and order an item

Dan Browning interchange-users@icdevgroup.org
Mon Sep 30 13:23:01 2002


At 06:02 PM 9/30/2002 +0100, you wrote:
>Hi - i'm trying to make a kind of "quick order" form in a page. Through 
>reading around and experimentation i've managed to make it automatically 
>log a person in in one go. What i would like ideally is that a user could 
>enter an sku and would be brought immediately to a checkout page with the 
>item they typed in ready to be ordered. At the moment i have this:
>
><FORM ACTION="[process secure=1]" METHOD=POST>
><INPUT TYPE=hidden NAME=mv_todo  VALUE=return>
><INPUT TYPE=hidden NAME=mv_click VALUE=Login>
><INPUT TYPE=hidden NAME=mv_nextpage VALUE="ord/checkout">
><INPUT type=hidden name=mv_username value="username">
><input type=hidden name=mv_password value="password">
>[set Log In]
>[/set]
><input type=submit name=mv_ckeck value="Log In">
></form>
>
>dont worry - i intend to put sanity checking and so on into Log In but am 
>working with the basics atm. I'll admit that my understanding of how this 
>works is pretty rudimentary but after reading around this is all i can 
>understand.
>
>This brings me to my checkout page with whatever items happen to be in the 
>basket in it. I'm afraid i dont really understand how to add an item at 
>the same time or even if this is possible. any help would be appreciated.

Try adding these to your form:
mv_order_quantity=5
mv_order_item=os20000

--
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Dan Browning, Kavod Technologies      <dan.browning@kavod.com> |
| (360) 882-7872 x7, 6700 NE 162nd Ave, Suite 210, Vancouver, WA |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Every improvement in communication makes the bore more terrible.
                 -- Frank Moore Colby