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

Basic forrm submission #33200

Merged
merged 2 commits into from Feb 19, 2020
Merged

Basic forrm submission #33200

merged 2 commits into from Feb 19, 2020

Conversation

molly-moen
Copy link
Contributor

Initial work on submission of a form. Form answers will be stored as json in the forrm_submissions table. A form submission can be added to the database by posting to
/dashboardapi/v1/forrm/submissions
with the body
{ form_version: '1', form_name: 'test', answers: { test_question: 'test_answer' } }
Currently works for submission of our pre workshop survey sample in the new system.
We may want to look into a better way to store the json data, it is now stored as a string which we will have to re-parse in ActiveRecord every time we want to get data out of it. There may be a way for us to directly put json into our table.

@molly-moen molly-moen merged commit ea18065 into forrm-initial Feb 19, 2020
@molly-moen molly-moen deleted the molly/forrm branch February 19, 2020 01:02
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.

None yet

2 participants