Matrix field

Step 1 – column headings

Add a Group element to the form. Then go into the Group settings and on the Styles click Add a style and choose the selector Group wrapper then add the following CSS.

1
2
margin-left: 150px;
text-align: center;
margin-left: 150px;
text-align: center;

Add a Column Layout element inside the Group. Then click the cog icon at the bottom right to go into the settings for the Column Layout and set the Number of columns to 5 and set Responsive columns to Off.

Set 5 columns and responsive off

Then add one HTML element into each of the columns. In the settings for each of the HTML elements at the HTML field type in the column title. You should end up with a blueprint as shown below.

Column titles blueprint

Step 2 – radio button rows

Add a Group element to the form, then go to the settings for it and on the Labels tab set the Label position option to Left.

Then add a Radio Buttons element inside the Group and configure it as described below.

On the Basic tab:

  1. Set the Label text
  2. Click Customize values below the Options
  3. Set each option Label to be empty
  4. Set each option Value to match the column titles

Matrix field radio buttons basic

On the Styles tab:

  1. Set Options layout to 5 columns
  2. Set Responsive columns to Off
  3. Click Add a style at the bottom and choose the selector Input wrapper and enter the CSS text-align: center;

Matrix field radio buttons styles

Now, click the duplicate icon at the Radio Buttons element to create a copy and then just change the label to make the second row of radio buttons. You can duplicate the element for as many rows as you need.

Duplicate radio button

Step 3 – final steps

Go to Edit Form → Settings → Style → Global and set Responsive elements to Off, this will preserve the matrix layout on devices.

Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy