<?php include_once($_SERVER['DOCUMENT_ROOT'] . "/includes/lang.php"); ?>
<HTML><HEAD><TITLE> Sample Cart - Using Americart for Conducting Surveys | Americart Shopping Cart</title><META name="keywords" content="americart, best shopping cart, cartserver, cheap shopping cart,easy shopping cart, ecommerce, e-commerce, html shopping cart, inexpensive shopping cart, online shopping cart,online store, pay pal shopping cart, secure ecommerce, secure shopping cart, shop cart, shopping cart,shopping cart service, shopping cart software, shopping cart solution, web commerce"><META name="description" content="Americart: the easiest, most cost-effective ecommerce shopping cart software. It's an online service, so no software to download. Inexpensive, easy to configure - requires no programming. Used by thousands of merchants."></HEAD></HEAD><body bgcolor="#ffffff" text="#525061" link="#0000a0" vlink="#d90000" alink="#990a04"><center><font color=#d90000><font size=+1><i><b>s u r v e y</b></i></font><br><font size=-1>[use of the =info= tag, the =NA= tag, the <i>req</i> variable,<br>a standard submit button, and multi-item submission]</font></center><hr size=1><font color="#0000d9" face="VERDANA"><blockquote><blockquote><font size=-1><b>Please take the time to fill out this survey, and receive afree gift of a sample of our new cologne (with another purchase)!The information willbe stored in the shopping cart and sent in with your order. Thanks!</b></font><p><form action=http://www.cartserver.com/sc/cart.cgi method=post><!-- Info item one --><input type=hidden name=item_1 value="a-1358^=info=^Survey Age?^1^1"><input type=hidden name=req_1 value="op1=You must supply your age.">Your age: <input type=text name=op1_1><p><!-- Info item two --><input type=hidden name=item_2 value="a-1358^=info=^Survey 1st Purchase?^1^1"><input type=hidden name=req_2value="op1=Please answer yes or no to the first On line purchase question.">First On line purchase?<select name=op1_2><option value="">Yes/No</option><option value="yes">Yes</option><option value="no">No</option></select><p><!--Free Gift --><input type=hidden name=item_3 value="a-1358^=NA=samp-1^Cologne Sample^0.00^1"><!-- notice that we used the =NA= tag also to keep people from increasing qty. --><!-- this hidden var (add.x) simulates the graphic images we usually use --><input type=hidden name=add.x value=1><input type=submit value="Submit my survey and dont forget my gift!"></form></blockquote><hr size=1>View the code for the above example to see how it's done.<p><ul>Notes:<li>You can put an info gathering tag in with any product. It won'tappear in the cart display, which is often good.</li><li>We used a textual submit button rather than our usual graphicalone. There is a hidden var you must include to do this reliably.</li><li>Using a textual submit button will sometimes result in confusiondue to browser cache of the filled out form.</li><li>You don't need to have a free gift, of course. It just seemedto go well with the survey example, so we added it as the third itemin the multi-item submission</li><li>This example shows how to use the "req" variable in a multi-itemenvironment. No more empty fields!</li></ul><center><!--<a href="http://www.cartserver.com/americart/"><IMG border=0  align=middle WIDTH=46 HEIGHT=60 SRC="tinybag.gif"align=left>Americart home</a>--><!-- footer starts --><?php include_once($_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"); ?><!-- footer ends --></body></HTML>
