11 Jan 2007 06:40
[FormBuilder] Showing label rather than value in select during confirm
<cgiformbuilder331 <at> lewenberg.com>
2007-01-11 05:40:03 GMT
2007-01-11 05:40:03 GMT
When saving a forms-worth of data to the database, one of the fields is derived from a SELECT pull down. This SELECT input has different values and labels. It looks something like <select name="employee_id"> <option value="1">Able</option> <option value="2">Baker</option> <option value="3">Charlie</option> </select> When I get to the confirm screen I want the "employee_id" line to show to the user the label (e.g., "Baker") but instead it gives the value (e.g., "2"). How can I get the confirm screen to show the label rather than the value *without* having to resort to using a template? What would be nice if there were an property of the field object that specified what to display in the confirm screen as override. _______________________________________________ FBusers mailing list FBusers <at> formbuilder.org http://www.formbuilder.org/mailman/listinfo/fbusers
RSS Feed