Likert Scale

470 views
Skip to first unread message

JULIAN ANDRES CASTAÑO ESPINOSA

unread,
Sep 28, 2021, 12:50:30 PM9/28/21
to oTree help & discussion
Hi,

I am trying to implement questions for my survey where answers are of type Likert scale. How can I do it without a lot of unnecessary code?

Chris @ oTree

unread,
Sep 28, 2021, 3:22:40 PM9/28/21
to oTree help & discussion

JULIAN ANDRES CASTAÑO ESPINOSA

unread,
Sep 28, 2021, 4:09:57 PM9/28/21
to Chris @ oTree, oTree help & discussion
Yes, but I need for example to link those fields so that none of the numbers is repeated. For example these three:

    offer_1 = models.IntegerField (widget = widgets.RadioSelect, options = [1,2,3])
    offer_2 = models.IntegerField (widget = widgets.RadioSelect, options = [1,2,3])
    offer_3 = models.IntegerField (widget = widgets.RadioSelect, options = [1,2,3])

In the interface, do not allow more than one to have the same value (1, 2 or 3) and also in the database save that UNIQUE option.
  Atentamente,

Julian Castaño



--
You received this message because you are subscribed to a topic in the Google Groups "oTree help & discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/otree/FZOSCa8BC2I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to otree+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/39443b68-6a71-4a44-b155-4007fbc11dd1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages