By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,760 Members | 955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,760 IT Pros & Developers. It's quick & easy.

Can someone help fix my code using select multiples?

Wiccadwitch
P: 1
Could someone please help??? I'm using paypal's shopping cart which allows for 2 options (such as colors or sizes). I need up to six options with 40 or so colors to choose from. I tried adding 6 but in paypal.com cart it only displays #'s 1 and 6. 2-5 get cut out. Paypal tech gave a website of www.members.aol.com/paypalhelper and said to create select multiples. I did this but there's still something wrong with my code. I can select multiple options but then nothing displays in the paypal cart. My site is www.beaubows.com through Microsoft Office Live. The code I'm using follows.
THANKS to anyone who can shed some light on what's wrong. I apologize but I'm a novice at HTML code and JS.

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><table><tr><td><input type="hidden" name="on0" value="Colors">Colors<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = 'paypal'; ReadForm (this);"><br /><br /><input type="hidden" name="cmd" value="_cart" /><input type="hidden" name="add" value="1" /><input type="hidden" name="business" value="Beau Bows" /><input type="hidden" name="item_name" value="M2M Single Korker Hair Bow" /><input type="hidden" name="amount" value="$5.00" /><input type="hidden" name="currency_code" value="USD" /><input type="hidden" name="lc" value="US" /><input type="hidden" name="baseon0" value="" /><input type="hidden" name="baseos0" value="" /><input type="hidden" name="baseon1" value="" /><input type="hidden" name="baseos1" value="" /><input type="hidden" name="on0" value="" /><input type="hidden" name="os0" value="" /><input type="hidden" name="on1" value="" /><input type="hidden" name="os1" value="" /><input type="hidden" name="baseamt" value="5.00" /><input type="hidden" name="basedes" value=" M2M Single Korker Hair Bow " />Select one or more (CTRL-click to add) - <select multiple onchange="ReadForm (this.form, false);"><option value="Ruby Red">Ruby Red<option value="Cranberry">Cranberry<option value="La Rosa">La Rosa<option value="Watermelon">Watermelon<option value="Cerise">Cerise<option value="Torrid Orange">Torrid Orange<option value="Tangerine">Tangerine<option value="Canteloupe">Canteloupe<option value="Coral">Coral<option value="Ginger">Ginger<option value="Creamsicle">Creamsicle<option value="Coral">Coral <option value="Lemon">Lemon<option value="Baby Maize">Baby Maize<option value="Maize">Maize <option value="Lemonade">Lemonade<option value="Gold">Gold<option value="Yellow Gold">Yellow Gold<option value="Lime Juice">Lime Juice<option value="Lemongrass">Lemongrass<option value="Chartreuse">Chartreuse<option value="Spring Moss">Spring Moss<option value="Moss">Moss<option value="Apple">Apple<option value="Pistachio">Pistachio<option value="Emerald">Emerald<option value="Forest">Forest<option value="Jungle Green">Jungle Green<option value="Olive">Olive<option value="Jade">Jade<option value="Light Blue">Light Blue<option value="Turquoise">Turquoise<option value="Ocean">Ocean<option value="Island Blue">Island Blue<option value="Williamsburg Blue">Williamsburg Blue<option value="Millennium Blue">Millennium Blue<option value="Royal Blue">Royal Blue<option value="Light Navy">Light Navy<option value="Navy">Navy<option value="Light Pink">Light Pink<option value="Pink">Pink<option value="Seashell">Seashell<option value="Blush">Blush<option value="Fantasy Rose">Fantasy Rose<option value="Mauve">Mauve<option value="Hot Pink">Hot Pink<option value="Shocking Pink">Shocking Pink<option value="Fuschia">Fuschia<option value="Lavender">Lavender<option value="Light Orchid">Light Orchid<option value="Dark Orchid">Dark Orchid<option value="Chalk Violet">Chalk Violet<option value="Wisteria">Wisteria<option value="Tropical Lilac">Tropical Lilac<option value="Plum">Plum <option value="Regal Purple">Regal Purple<option value="Burgundy">Burgundy <option value="Ivory">Ivory<option value="Natural">Natural<option value="Milk Chocolate">Milk Chocolate<option value="Dark Brown">Dark Brown<option value="Grey">Grey<option value="Pewter">Pewter<option value="Black">Black<option value="White">White <input class="nbor" type="text" name="tot" value="$5.00" size="6" /> &nbsp; <input type="button" value="Reset Form" onclick="this.form.reset();" /> </select></td></tr></table><input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but22.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"><img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"><input type="hidden" name="add" value="1"><input type="hidden" name="cmd" value="_cart"><input type="hidden" name="business" value="barkleysebay@rapidcable.com"><input type="hidden" name="item_name" value="M2M Regular Size Korker Bow - Single"><input type="hidden" name="item_number" value="M2MRKB1"><input type="hidden" name="amount" value="5.00"><input type="hidden" name="no_shipping" value="2"><input type="hidden" name="currency_code" value="USD"><input type="hidden" name="lc" value="US"><input type="hidden" name="bn" value="PP-ShopCartBF” </html>
Apr 7 '07 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Where's your ReadForm function?
Apr 9 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.