Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi inputs equaling same value

Status
Not open for further replies.

LyallJ

MIS
Jul 18, 2001
124
US
Ok, heres what i am tring to do. Prolly easy for some of you folks..but it is killin me..

I need to have 2 drop down boxes that have diffent colors in them, in a form. When user presses Submit button, i need these to colors to equal one value.

ie, i need to pass this


with the descr part being what the 2 drop down boxes equal. I can get one of the drop down boxes like this..

<form action="phpcart/phpcart.php" method="GET">
<input type="hidden" name="action" value="add">
<input type="hidden" name="id" value="105">
<select size="1" name="descr">
//this is colorone
<option value="Green">Green</option>
<option value="Blue">Blue</option>
<option value="Red">Red</option>
</select>
<input type="hidden" name="price" value="0.00">
<input type="hidden" name="quantity" value="1">
<input type="submit" value="Add to Basket">
</form>


Really drowning in this one........
 
shoot, i guess there is not a drop of php in that. sorry wrong forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top