HubSpot Custom Modules: Learn how to leverage 'Help' text and boolean fields

September 12, 2019   |   2 min read time    Josh Markus Josh Markus

As dedicated HubSpot developers, one of our main goals is to produce the best possible content editing experience, not just for us as we're building out the site, but for whoever comes along in the future to edit content.
Sure, we may build out every page and insert all the content, working with our custom modules effortlessly ...because we built them. But inevitably someone else will be editing the content and using our custom modules. This is the point where our design and planning are put to the test. The last thing we want is to get an email three months after launch about how to use a custom module we built.

Granted, there are always going to be those edge cases and accidents, but there are things we can do as HubSpot developers to make the content editing experience as intuitive and easy as possible.

1. 'Help text'

Properly using this saves all of us time. It's quick. It's easy. It's 100% useful.
The 'Help' text section is a great place for image specifications, input format instructions or an explanation for a 'toggle' switch.

This is how 'Help text' is displayed in the sidebar when editing a field in the template: 

Screen Shot 2019-09-11 at 4.39.40 PM

This is how it displays in the page editor.
Hover over the 'i' icon and the 'help text' displays above.
 
Screen Shot 2019-09-11 at 4.40.18 PM

2. Boolean Field

Think of this as a toggle switch - it's either 'ON' or 'OFF'. These have many uses but something we like to use it for is improving our custom module user experience. If a module has a lot of fields, using it can easily turn into a confusing and cluttered experience in the page editor. To avoid this issue, we use the boolean field (toggle switch) to show or hide additional fields in the page editor:

The toggle switches below are 'OFF':

Screen Shot 2019-09-11 at 5.04.02 PM


Toggling one 'ON' will display all the other input fields associated with that switch:

Screen Shot 2019-09-11 at 5.14.30 PM

Properly using toggle switches and 'Help' text can make or break a custom module and ultimately YOUR experience editing your site. The 'Boolean Field' is an interesting way for you to have an ongoing dialogue with us. Do you want to display a CTA in this section? Do you want to use a mobile background image? Do you want to activate the slider? Do you want options? If you do...

Let's partner on your next project ›



Website Content Planner Guide

Download our Website Content Planner Guide to help kick off your HubSpot website redesign project!

Download Now ›

HubSpot Website Content Planner


If you found this helpful, please share.

Subscribe Now!

Free project quote