Django FormWizard with dynamic forms

后端 未结 5 1905
既然无缘
既然无缘 2021-02-04 18:48

I want to implement a simple 2 part FormWizard. Form 1 will by dynamically generated something like this:

class BuyAppleForm(forms.Form):
   creditcard = forms.C         


        
5条回答
  •  被撕碎了的回忆
    2021-02-04 19:42

    I haven't used it, but for the situation you describe, it seems like you may want to try the FormPreview instead of the FormWizard. From the documentation it sounds like what you're after.

提交回复
热议问题