At present the select field seems to create options in HTML where the value property is the same as the content of the option. It would be useful and perhaps make it easier to create nice forms if we could specify them both separately:
select "Rating" "1|2|3" "Awful|OK|Great" # Using a new parameter for labels
select "Rating" "Awful=1|OK=2|Great=3" # Using a combined syntax label=value (could be reversed)
The dropdown would only show the labels but would submit the values instead.
The same sort of thing could be done for radio buttons with HTML labels.
At present the select field seems to create options in HTML where the value property is the same as the content of the option. It would be useful and perhaps make it easier to create nice forms if we could specify them both separately:
The dropdown would only show the labels but would submit the values instead.
The same sort of thing could be done for radio buttons with HTML labels.