oTree - form widget made of buttons

983 views Asked by At

I would like to make a form in oTree that consist of buttons, the user will choose his answer by clicking one of the buttons.
The build-in widget aren't good enough.
Is there a way to build this?

Thank you!

2

There are 2 answers

0
Philipp Chapkovski On BEST ANSWER
0
pnina On

Thank you! In this way I can't submit the data that was chosen in the non-submit button.
I want the user to choose the button 1 and submit it when coosing the second button. attached an example