473,395 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Can someone help fix my code using select multiples?

Wiccadwitch
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
1 1407
acoder
16,027 Expert Mod 8TB
Where's your ReadForm function?
Apr 9 '07 #2

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

Similar topics

2
by: Umpty | last post by:
Trying to use Microsoft Indexing Service. Here is my code using SQL Query Analyzer, which works perfectly. SELECT * FROM OPENQUERY(FileSystem, 'SELECT RANK, FileName, Characterization FROM...
8
by: skinnybloke | last post by:
Hi - I have a problem with a memo field being truncated to about 255 characters when running a Access 2002 query. This only seems to happen if I use SELECT DISTINCT. It works ok using SELECT by...
3
by: Ryan Liu | last post by:
Can someone give a sample to prevent a row from being deleted in a datatable? I tried e.Row.RejectChanges(); in dt_RowDeleting() but seems does not work. I need verify if there other data...
4
by: satish | last post by:
Values of two columns in two different tables--presentation using select Hi Everyone, i have two tables in the database . One is called address table and one is adressPhone Table. Below...
4
by: bob1660 | last post by:
I am new to PHP and MYSQL. I have a Database table with 4 field. FirstName, LastName, DateofBirth and MemberNumber. I would like to have a form where a user can fill in the FirstName, LastName and...
1
by: bimeldip | last post by:
Hi, I have managed to create codes to display data from the database in a html page.I have gone on to create a page to allow users to manipulate the table via a html page. For instance users will be...
0
by: bimeldip | last post by:
Hi, I have managed to create codes to display data from the database in a html page.I have gone on to create a page to allow users to manipulate the table via a html page. For instance users will be...
3
by: bpw22az | last post by:
I am currently in the process of setting up an asp page that sends an inquiring student an email regarding his/her application status. The student enters his/her email address on a web page, the...
1
by: remya1000 | last post by:
I’m using VB.net 2003 application program. I am trying to do a select statement whereby I'm searching between 2 datetime values that are being stored as datetime. records are stored inside...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.