enum
Tagenumset
.
For example, the following:<enumset id="yesno">
<enum key="n" value="No" />
<enum key="y" value="Yes" />
</enumset>
sqlfield
and allow it to "prettify" its values. If the value of
that field happens to be "n", the widget's value
will retain the real
value of "n", but its label will be shown as "No". (The label is, for
example, the text between OPTION tags, the words next to a radio
button, etc.) Textfields and textareas can't make use of these tags.