Forum
Select form input issue
I wrote a form in which I have some
<perch:label for="dose_melange">Précisez les doses du mélange d'aloe arborescens</perch:label>
<perch:input class="chosen-select" id="dose_melange" type="select" options="3 cs par jour, 6 cs par jour ou plus" />
but when post the form any of my select inputs appear. Other inputs work perfectly. Have to mention i deleted the class="chosen-select"
(using some js stuff) but didn't resolve the issue.
Sorry, what's failing?
The selected item doesn't appear in Perch admin responses, nor the label. Other fields are ok. Is it clear for you ?
Edit : just did it. Added a
<perch:label>
tag before a select... And forgot the label... Should stop working today...I think you need to add the
label
attribute so it can be listed in the control panel.