smalldatalab / omh-dsu

Omh DSU + Google Sign-In + Survey Management + Shim Server Integration
Apache License 2.0
3 stars 1 forks source link

add VAS prompt type #1

Closed changun closed 8 years ago

changun commented 9 years ago

It's a pretty simply item type. The main aspects that would make it clunky to reuse an existing item type are the labels for the two ends of the spectrum. Those are the properties I labeled "min_label" and "max_label". Feel free to rename anything as you see fit.

The survey author should be able to customize all the properties in the example prompt definition I sent you.

image

changun commented 8 years ago

Charlie:

  1. the scale should be from 1-100, not 0.0-1.0. So min/max values need to be adjusted, and whole_numbers_only should probably be set to 'true'. Also, VAS prompts should not be able to have a default value. Can you please make those changes to the survey item type definition / validation?
  2. Regarding display type, I went with "vas" because VAS stands for Visual Analogue Scale, which is inherently a custom display type. But "slider" is fine – the iOS app doesn't actually use that field for anything anyway.