Re: showing selected items in a multiple select menu
- From: Hugh Oxford <arestes@xxxxxxx>
- Date: Sun, 29 Jun 2008 23:32:49 +0100
Rowan wrote:
I have a form that has several multiple select menus. I would like to
save the multiple selections but be able to show them as selected
items when the form data is updated.
<select name="project_menu[]" size="4" multiple="multiple"
class="TabbedPanelsTabGroup" id="project_menu[]">
<option value="add">Add</option>
<option value="update">Update</option>
<option value="view">View</option>
I'm using a template to generate the form. Is there a checked option
that can be used to preselect the option when rendering the form much
like a value = "" option ?
Your template engine might provide a method of specifying the value of the select.
.
- References:
- showing selected items in a multiple select menu
- From: Rowan
- showing selected items in a multiple select menu
- Prev by Date: Re: php execution time
- Next by Date: Re: Popup dialog for PHP on Windows?
- Previous by thread: Re: showing selected items in a multiple select menu
- Next by thread: help with recusion in DOM
- Index(es):