Show and Hide Questions Dynamically (#212)

* Show and hide form questions dynamically

* Respond to PR feedback

* Remove debugger tags
This commit is contained in:
Seamus Johnston 2022-11-02 20:35:53 +00:00 committed by GitHub
parent d218033538
commit d8ae0d9753
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 362 additions and 10 deletions

View file

@ -42,6 +42,23 @@ class OrganizationForm(forms.Form):
],
widget=forms.RadioSelect,
)
federal_type = forms.ChoiceField(
required=False,
choices=[
("Executive", "Executive"),
("Judicial", "Judicial"),
("Legislative", "Legislative"),
],
widget=forms.RadioSelect,
)
is_election_board = forms.ChoiceField(
required=False,
choices=[
("Yes", "Yes"),
("No", "No"),
],
widget=forms.RadioSelect,
)
class ContactForm(forms.Form):