Search code examples
web2py

Best practice for populating dropdown based on other dropdown selection in web2py?


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?


Solution

  • Check out this lazy options widget (with usage example) as well as these recipes: