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

John Allman interchange-users@icdevgroup.org
Mon Sep 30 13:00:02 2002


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.

thanks

John