A quick reading of your code suggests that `form.customer_choices.choices`
should be returned as an array with the state of each choice, so == here is
probably not going to work.

On Mon, Nov 7, 2022 at 8:58 PM Obodoma Uzondu Vincent <[email protected]>
wrote:

> I have a multi-step form that is 3 steps but it has 4 forms. In the first
> form, the user has to choose from two choices. The user’s first form
> choices will determine the next form that will be displayed.
> The code is not working as it should. The first form choices are radio
> buttons which are commercial and private. If the user chooses commercial it
> brings the next form and if the user chose private it brings a different
> form. My problem is that if the user chose private or commercial it brings
> the same form.
> Views.py
> template
> forms.py
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f3fc2a20-0bea-4ba2-a9a2-c916ffec8ff7n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/f3fc2a20-0bea-4ba2-a9a2-c916ffec8ff7n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE5VhgU7BueC%2BYx5X2WzU6HKiVi5g7UZjmKyO%2BOwbBgQsHgZrg%40mail.gmail.com.

Reply via email to