there are a few more things i can't figure out.
assuming I have in my controller:
class Form_Register(formencode.Schema):
us_state=
formencode.validators.OneOf(g.us_states.keys(),hideList=True)
and in my template:
${h.select('us_state',
h.options_for_select(g.us_states_options),
id="us_state",
onChange="selectedState()",
)}
1- where/how would i do the following specify 'ny' as the pre-selected
form option ? ( ie, the form is generated with ny selected on first
render )
2- is it possible to override the error strings, how?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---