View Preview →

Contact Form with Quick Info Rail

Setup Guide

A two-column module that pairs a HubSpot form with a quick info rail containing contact cards and a note card. The form section displays a heading, sub-text, and the selected HubSpot form. The rail shows repeatable contact items (phone, email, location) with an optional closing note card.

1. Module Location

This module is designed for Contact Us and Quote Request pages. It typically sits below a page header section and above an office locations or map section.

Module location in page layout

Figure 1 — The module renders as a two-column grid: form on the left, info rail on the right.

2. How to Use

Step 1: Add the module to your page

In the HubSpot page editor, drag the Contact Form with Quick Info Rail module into your content area. It will appear with the default configuration.

Drag module into page

Figure 2 — Dragging the module from the sidebar into the page layout.

Step 2: Configure the form section

Under the Form Section group in the content tab:

Form section settings

Figure 3 — Form section fields in the content editor.

Step 3: Configure the Quick Info Rail

Under the Quick Info Rail group:

Rail items configuration

Figure 4 — Adding rail items with icon, label, value, and meta text.

Step 4: Adjust layout

Under the Layout group:

Layout ratio options

Figure 5 — Layout options: form wider, equal, or rail wider.

Step 5: Style the module

The Style tab provides extensive customization organized into groups:

Style tab groups

Figure 6 — Style tab with section, typography, and component style groups.

Button styling note: HubSpot forms render in a controlled environment. For custom button styling to take effect, copy the generated CSS variable values from the Style tab to your HubSpot form's Custom CSS field in the form editor.

Step 6: Preview your changes

Use the Preview button in the HubSpot editor to see how the module looks with your content and style settings. Toggle between desktop, tablet, and mobile views — the module is fully responsive and stacks to a single column on mobile.

Responsive preview

Figure 7 — Desktop and mobile responsive views.

3. Quick Reference

Content Tab Fields

GroupFieldTypeDefault
Form SectionHeadingTextSend us your inquiry
Sub-textTextFields marked * are required...
HubSpot FormForm
Footer NoteTextResponse in 1 business day
Rail Items (repeating)Icon TypeChoicephone
LabelTextCall us
ValueText+1 (800) 555-0148
Meta TextTextMon–Fri · estimating desk
LinkLink
Max 6 items3 default
Rail NoteNote Card TitleTextHave a print ready?
Note Card TextTextSkip the form...
LayoutForm / Rail Width RatioChoice1.3fr 1fr
Column GapNumber56px

Style Tab Groups

GroupKey Controls
Section BackgroundBackground color, top/bottom spacing (px)
TypographyHeading, body, label, note, rail heading, rail label, rail body fonts
Form WrapperBackground, border, corner radius, padding
Submit ButtonCustom toggle, font, bg/text/hover colors, radius, padding
Form FieldsLabel font, field bg/border/focus/text/placeholder/radius, select arrow
Rail CardsBackground, border, radius, padding, hover shadow, icon bg/color
Rail Note CardBackground, border, radius, padding, text color

CSS Custom Properties

All module styling is driven by CSS custom properties prefixed --contact-form-with-quick-info-rail-. These are set inline via HubL in module.html and consumed by module.css. Fallback values in the CSS ensure the module renders correctly even without HubL context.

Responsive Behavior

At viewport widths below 768px, the two-column grid collapses to a single column. The form and rail stack vertically with a 40px gap. Form wrapper and card padding reduce to 24px for tighter mobile spacing.

Trusted by manufacturers in
Aerospace Defense Medical Energy Automotive

Ready to scope your next production run?

Talk to Our Team