DB wrote: > The following code seems to work ok within a loop on a page I named > items_list.html, the goal being to add a part to the cart and return to > the same page. I'm just wondering if there are any glaring problems with > doing things this way. Any thoughts welcome. > > <form action="[process-target]" method="POST"> > <input type="hidden" name="mv_session_id" value="[data session id]"> > <input type="hidden" name="mv_todo" value="refresh"> > <input type="hidden" name="mv_nextpage" value="ites_list"> I am assuming the above should read "items_list" instead of "ites_list" based on the name in your text. An easy way to avoid this issue if you are going to submit back to the same page is to use an IC "built-in" variable. <input type="hidden" name="mv_nextpage" value="@@MV_PAGE@@"> Should give you the same thing and is more portable. Brian J. Miller End Point, Corp. > <input type="hidden" name="mv_order_item" value="[loop-code]"> > <input type="text" name="mv_order_quantity" value="1" size="3"> > <input type="submit" value="[L]Add to cart[/L]"> > </form> > > > DB > _______________________________________________ > interchange-users mailing list > suppressed > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.