How To Have Two Column Payment Form

December 7, 2023

If you have this long list of product items, you could minimize its length by enabling columns aside from adding Product Categories. We have the below methods, which depend on the form theme you’re using.

Setting up Two Columns With Product List Layout

When using the new default theme, you will find the Product List Layout in the Product List Settings. It will allow you to change the layout from one to two or three columns. Here’s how you can do that:

  1. In the Form Builder, click the Payment Settings icon from the Payment Element.
  2. Click the Continue button at the bottom of the right panel.
jotform-payment-settings

Note

When using the Product List element, you will see the Product List icon instead of the Payment Settings icon. Clicking the Product List icon will automatically open the Payment Settings panel without clicking a button.

  1. Click the Settings icon to access the Product List Layout and other options.
jotform-payment-settings-button
  1. Under Product List Layout, choose Two or Three Columns. You will automatically see the columns upon choosing the option.
jotform-payment-product-list

Setting up Two Columns With Custom CSS Code

Some of the old themes may not support this feature but fret not, as you can use the following CSS code if this is the case with your form. Stylize the default single-column payment field into a two-column formation by injecting the following custom CSS codes into the payment form.

.form-product-item {
border: 1px solid #eee;
margin: 5px;
width: calc(50% - 20px);
vertical-align: top;
display: inline-block !important;
}
.form-product-item+br,
.form-product-container+br {
display: none;
}
.form-product-item img {
width: 100%;
margin-bottom: 10px;
}
.form-product-item>img+.form-product-item-detail {
width: calc(100% - 40px);
padding: 0 20px 10px;
}
.form-product-item-detail>.form-checkbox {
position: absolute;
top: 10px;
left: 10px;
width: 18px;
height: 20px;
}
.form-product-details {
display: block;
}

To inject, please follow the steps from this guide: How to Inject Custom CSS Codes.

Check this demo form: https://www.jotform.com/212403280219950 to see a result.

Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Podo Comment Be the first to comment.