I would like to create a form that contains dropdown fields. After entering text or selecting an option in one dropdown I would like to populate the options in another.
Is there a best practice for doing so specifically with web2py?
Check out this lazy options widget (with usage example) as well as these recipes:
来源:https://stackoverflow.com/questions/8146260/best-practice-for-populating-dropdown-based-on-other-dropdown-selection-in-web2p