This is a question upon the use of wtforms SelectField.
wtforms SelectField
Once the form submitted, I wish to extract selected text.
I have the following form:
If you don't need the choice indexes, is much more simpler:
class TestForm(Form): hour = SelectField(u'Hour', choices=[('8am', '8am'), ('10am', '10am') ])