Hi,
I had gotten some help on this previously but I'm still not able to figure it out.
I have the following listbox (I abbreviated it for the forum) with all 50 states.
I allow for multiple selection. When a user clicks more than one state they are highlighted (if ctrl is down). That works. It stores the multiple data just fine.
What I want to do is have the user come back to the same record and view his previous selections. I would like them to be highlighted as they were when chosen.
Can someone please tell me where and how to do this? Thank you.
<td align="right" width="180">
<div align="center">
<select name="states" size="1" multiple>
<option value="" selected>Choose a State</option>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="WV">West Virginia</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
</select>
</div>
</td>
</tr>
<tr>
<td align="right" width="180">
<div align="right"></div>
</td>
</tr>
<tr>
<td width="180">
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Reset" value="Reset">
</td>
</tr>
</table>
<input type="hidden" name="MM_update" value="true">
<input type="hidden" name="MM_recordId" value="<%= RS_update.Fields.Item("Qid2"
.Value %>">
</form>
<p> </p>
</body>
</html>
I had gotten some help on this previously but I'm still not able to figure it out.
I have the following listbox (I abbreviated it for the forum) with all 50 states.
I allow for multiple selection. When a user clicks more than one state they are highlighted (if ctrl is down). That works. It stores the multiple data just fine.
What I want to do is have the user come back to the same record and view his previous selections. I would like them to be highlighted as they were when chosen.
Can someone please tell me where and how to do this? Thank you.
<td align="right" width="180">
<div align="center">
<select name="states" size="1" multiple>
<option value="" selected>Choose a State</option>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="WV">West Virginia</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
</select>
</div>
</td>
</tr>
<tr>
<td align="right" width="180">
<div align="right"></div>
</td>
</tr>
<tr>
<td width="180">
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Reset" value="Reset">
</td>
</tr>
</table>
<input type="hidden" name="MM_update" value="true">
<input type="hidden" name="MM_recordId" value="<%= RS_update.Fields.Item("Qid2"
</form>
<p> </p>
</body>
</html>