Is there any way to do a Likert scale in Webform?

From what I can tell after looking at the code for a short time (meaning, I could be wrong), webform displays the fields from the FormsAPI...They are not made in Webform. This implies - to me - that if I want a likert scale, I'll need to modify the Forms API. Is that correct?

Thanks,
--lee

Comments

quicksketch’s picture

Iee, you can make form elements that don't have directly corresponding elements in the FAPI. The "grid" component is a good example of this, and in this case, I think it's exactly what you're wanting. You can effectively create a likert scale by creating "options" along the top with these keys:

-2|Strongly disagree
-1|Disagree
0|Neutral
1|Agree
2|Strongly agree

Or you can always leave out the keys and just use the text if you're not planning on summing the results.

daleeman’s picture

Status: Active » Closed (fixed)

EXACTLY what I was looking for!

Thanks,
--lee

yaach’s picture

Great, after 11 years this answer still helped me in D7.