close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

how to change from text input to select drop down

Thread began 5/18/2011 9:57 pm by James L | Last modified 4/24/2014 10:09 am by James L | 2445 views | 7 replies

James L

how to change from text input to select drop down

I can't get this to work. I want to change the standard quantity text input box to a drop down menu to restrict the number of items the user can select, but when I change it the "add to cart button" does nothing... help!

original code:

<input type="hidden" name="proResCart_1_ID_Add" value="<?php echo $row_rsItems["ItemID"]; ?>" >
<input type="text" name="proResCart_1_Quantity_Add" value="1" size="4" >
<input type="image" src="WA_eCart/Images/Pacifica/Btn1_EN_addtocart.gif" border="0" class="eC_ImageButton" value="Add to Cart" name="proResCart_1_ATC">

my new but not working attempt:

<input type="hidden" name="proResCart_1_ID_Add" value="<?php echo $row_rsItems["ItemID"]; ?>" >
<select name="quantity">
<option name="ProResCart_1_Quantity_Add"value="1"selected="selected">1</option>
<option name="ProResCart_1_Quantity_Add"value="2">2</option>
<option name="ProResCart_1_Quantity_Add"value="3">3</option>
</select>
<input type="image" src="WA_eCart/Images/Pacifica/Btn1_EN_addtocart.gif" border="0" class="eC_ImageButton" value="Add to Cart" name="proResCart_1_ATC">

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...