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

后端 未结 1 1618
梦如初夏
梦如初夏 2020-12-06 07:44

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.

相关标签:
1条回答
  • 2020-12-06 08:22

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

    • Cascading Drop Down Lists
    • Cascading Select Based on Python Lists
    • Cascading Drop Down Lists with Ajax
    0 讨论(0)
提交回复
热议问题