Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom form questions #597

Merged
merged 7 commits into from
Jul 25, 2020
Merged

Custom form questions #597

merged 7 commits into from
Jul 25, 2020

Conversation

maebeale
Copy link
Collaborator

@maebeale maebeale commented Jul 25, 2020

Allow users to add CustomFormQuestions to Forms (and answers stored in db as SubmissionResponses)

  • Currently only handles adding/storing 'string' questions. Still need to add support for boolean, date, etc, as well as support option lists so admins can provide data to populate a dropdown rather than having only text inputs.
  • Tests re re updating a Submission were failing, and we've marked them as pending since we don't currently have that feature deployed anyway

solebared and others added 5 commits July 24, 2020 15:50
Not used yet. Also renames Form.form_questions -> questions.

Co-authored-by: maebeale <maebeale@gmail.com>
For now, does not take question type into account, just renders all of
them as string fields. Also doesn't render the question hint_text.
@maebeale maebeale merged commit 66242aa into master Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants