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

Create new webhook for CUTGroup Test Wufoo Forms #157

Closed
smarziano opened this issue Feb 10, 2016 · 6 comments
Closed

Create new webhook for CUTGroup Test Wufoo Forms #157

smarziano opened this issue Feb 10, 2016 · 6 comments

Comments

@smarziano
Copy link
Member

This relates to issue #119. We will create a new webhook for all Wufoo forms that are used for testing sessions. This will help us keep account for the number of tests that testers have participated in which relates to #94.

@shua123
Copy link
Contributor

shua123 commented Mar 4, 2016

Add submission type to submissions table

@smarziano
Copy link
Member Author

Instead of creating a new webhook, we can easily create a hidden field with a predefined value (example: "availability" for availability forms, "test" for test forms) to associate the type of form with the phase of the test (phases being screening, availability, test part 1, part 2, etc) in Patterns.

http://www.wufoo.com/guides/using-hidden-fields-forms/

@shua123
Copy link
Contributor

shua123 commented Mar 25, 2016

Steps for this:

  1. @smarziano Determine the title/name for what this field will be in Wufoo forms
  2. @smarziano Initial list of form types
  3. @shua123 Make form_type into enum with initial form types from (2)
  4. @shua123 Add function that finds hidden field and assigns correct form_type

@smarziano
Copy link
Member Author

My thought is to create a field at the very beginning of each form that is called "Form type." Then I will change the "Show field to" setting it to "Admin Only." In the "Predefined value" field, I add one of three types of form: Screening, Availability, & Test.

image

Some tests have two or more parts, but I still think that they can all be listed as "Test."

@smarziano smarziano assigned shua123 and unassigned smarziano Apr 5, 2016
@shua123
Copy link
Contributor

shua123 commented Apr 10, 2016

"Admin Only" fields do not get sent through the API so this is a problem for the SMS versions. Even when setting it with a default value in Wufoo, it ends up being blank for submissions sent through the API from Patterns.

New Idea:

=- For forms that will be filled out through the Twilio->Patterns->Wufoo method:
1. Create the field at the end of the form after the phone number field. Make it "Everyone" not "Admin Only."
2. When creating the SMS Campaign in Patterns, the Form Type options will be these choices. da8ec6c image
3. When Patterns submits the answers from the SMS conversation, it will also submit the Form Type from the SMS Campaign. a325b8d

@smarziano
Copy link
Member Author

This has been completed and merged: a325b8d Closing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants