小编Kan*_*and的帖子

Conditional Form Field in Django wizard form

I am using wizard forms in django. I want to create a form field only if answer to some other form field is marked "yes" otherwise I don't want this new form field. How can I do this ?
I have tried some other answers related to this but most of them tells about how to mark field required or not but I want to display that field only if answer to other field is "Yes"

Django Form Wizard with …

python forms django django-formwizard python-3.x

5
推荐指数
1
解决办法
378
查看次数

标签 统计

django ×1

django-formwizard ×1

forms ×1

python ×1

python-3.x ×1