Forum Moderators: open
How can I create a double selection that will submit both grey selections without selecting from the second set?
Another word how can I make a combo that will take care of selecting both in one shot
For example I need to pair
<option value="#cccccc">Grey #cccccc</option>
and
<option value="<img src=img/curv_g.jpg>">Grey #cccccc</option>
so the user will select only one time to triggers the combo
instead of having to go through 2 selections
Hmmm not sure it is very clear!
How can I combine A and B in one select?
A)
<select name="bg" Wrap=virtual>
<option value="#cccccc">Grey #cccccc</option>
<option value="#ffffcc">Light Lemon #ffffcc</option>
<option value="#ffffff">White #ffffff</option>
</select>
B)
Color-2 <br><? echo "<FONT COLOR=\"#800000\">VALUE RECORDED AS PER YOUR SELECTION:</FONT>";?> <b><?php print $s[curv];?></b><br>
<select name="curv" Wrap=virtual>
<option value="<img src=img/curv_g.jpg>">Grey #cccccc</option>
<option value="<img src=img/curv_y.jpg>">Light Lemon #ffffcc</option>
<option value="<img src=img/curv_w.jpg>">White #ffffff</option>
</select>
For example:
$a="#cccccc";
$b="img src=img/curv_g.jpg";
echo "<select name=\"color\"><option value=\"$a^$b\">Grey #cccccc</option></select>";
And then split the value?