# Force radiogroup two columns

**URL:** <https://discourse.psychopy.org/t/force-radiogroup-two-columns/34576>\
**Category:** Online experiments\
**Tags:** screen, pavlovia\
**Created:** [April 26, 2023, 8:13pm UTC](https://discourse.psychopy.org/t/force-radiogroup-two-columns/34576 "2023-04-26T20:13:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavlover](https://avatars.discourse-cdn.com/v4/letter/p/58f4c7/32.png) [@pavlover](https://discourse.psychopy.org/u/pavlover)\
**Post date:** [April 26, 2023, 8:13pm UTC](https://discourse.psychopy.org/t/force-radiogroup-two-columns/34576/1 "2023-04-26T20:13:10Z")

</div>

Description of the problem: I have an experiment in Pavlovia with six radiogroup options for participants to pick one, in a two-column layout (3 on the left, 3 on the right). When I open the experiment with a smartphone in portrait mode, instead of landscape, a tablet or computer, the options are mixed into a single column, which would likely jeopardize the misdirection of the experiment. Is there a way for me to force landscape in order to keep the desired layout in 2 columns? Changing the CSS values for min and max width does nothing, the single column just gets more blank space to the right.

I could possibly settle for the single-choice matrix layout, but then participants could pick an option per row, and I want them to pick one per question, like in radiogroups. Is there any fix for this?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![pavlover](https://avatars.discourse-cdn.com/v4/letter/p/58f4c7/32.png) [@pavlover](https://discourse.psychopy.org/u/pavlover)\
**Post date:** [April 28, 2023, 8:35am UTC](https://discourse.psychopy.org/t/force-radiogroup-two-columns/34576/2 "2023-04-28T08:35:47Z")

</div>

According to SurveyJS support, you can allow users to select a single option at a time in a Single-choice matrix by handling the `survey.onValueChanging` function and resetting the question value. Here’s their code example: [https://surveyjs.answerdesk.io/ticket/details/t11882](https://surveyjs.answerdesk.io/ticket/details/t11882). It wouldn’t be possible to do this in Pavlovia, right?
