How to select all records with the value attribute of the Select tag
Posted on 2011-04-19
I am using Dreamweaver CS5 to redesign a website that was originally done in FrontPage. I am trying to set up a form with a list that will access records from a database. Part of the code is:
<select name="Misc3" id="Misc3 size="3" >
<option value="" >Abridged and Unabridged</option>
The column Misc3 contains only 2 values: NA and U. I want the first option to allow the user to pick both NA and U (all records) with one click (I don't want to use multiple selections because I have other lists where that would be difficult). Everything works fine for Abridged by itself and Unabridged, but I cannot find what to put for value= to make this work for Abridged and Unabridged. I originally trying setting value="%" because this worked in FrontPage, but it does not work here. I have also tried *, All, ALL, and nothing. Thanks for your help!