Skip to content

Instantly share code, notes, and snippets.

@dosbol
Last active October 19, 2020 08:31
Show Gist options
  • Save dosbol/dd7b279017f58539fe215b464c6bc731 to your computer and use it in GitHub Desktop.
Save dosbol/dd7b279017f58539fe215b464c6bc731 to your computer and use it in GitHub Desktop.
[{:id :experience-level
:text "How was your experience with us today?"
:options ["Very good" "Good" "Neutral" "Bad" "Very Bad"]
:style :inline-clickable}
{:id :dissatisfaction-reason
:text "What is the reason for your dissatisfaction?"
:options ["Agent was rude" "Waiting times are long" "No solution for my problem" "Other"]
:style :dropdown
:depends-on {:id :experience-level :values #{"Bad" "Very Bad"}}}
{:id :dissatisfaction-other-reason
:text "Please explain the reason for your dissatisfaction"
:style :textarea
:depends-on {:id :dissatisfaction-reason :values #{"Other"}}}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment