kobotoolbox / koboform

A Java/GWT based formbuilder (no longer supported). Replaced by dkobo.
2 stars 8 forks source link

Other Specify option auto add text entry follow up. #39

Open Dylan-Gillespie opened 11 years ago

Dylan-Gillespie commented 11 years ago

From neil.hen...@kobotoolbox.org on June 27, 2012 14:23:20

Summary: Many select and multi select questions have a final "Other, Specify" option. The user must then create a follow up question and link the two questions with Skip logic. Proposed feature will automate the "Other, Specify" process so that when a user adds an "Other, Specify" option a follow up text-entry question is created and the skip logic is created so that the follow up question is shown to the user only if the user selects the "Other, Specify" option. proposed use-case: 1.) In KoBoForm, the "Add Select Option" menu modified to have a drop-down arrow (just like the "Add Question" menu). New option added for "Add 'Other, Specify'". 2.) After a user has inserted a Multi-Select or Single-Select question, user can add options as normal, new function allows user to insert "Other, Specify" option. Appears as a normal option in the question editor. (it's value incremented in the normal way) 3.) Once an "Other, Specify" option has been added to a Multi or Single Select question, KoBoForm auto-adds a follow up question. 4.)The follow up question is a "Text Question" input type. 5.) It gets the same text label as the previous question. 6.) It gets a hint label that says "Other, please specify." 7.) Skip logic is added to the follow up question. See notes. additional comments: Structure of skip logic. If Single-Select: <> Select Question with an "other, specify" option. (A01)is equal to: Other, Specify

relevant="/new_form1/A01 = '1'"

If Multi-select: <>Multi select question with "other, specify" option. (A03MULTI)is in list: Other, specify

relevant="selected(/new_form1/A03MULTI,'1')"

Original issue: http://code.google.com/p/kobo/issues/detail?id=39