Sending multiple-choice fields or checkboxes to HubSpot

Last updated on
30 April 2025

When creating a Webform to send to HubSpot, you may choose to use a multiple-choice dropdown or select box in your form. However, you should be aware of how HubSpot will receive this data.

For any multiple-choice or dropdown form component, the correct component type to use in Webform is "Select options". This can be used to create a listbox, checkboxes, radio buttons, or a multiple-choice select box.

When creating the list of options for the field, Webform asks you to format them like "safe_key|Some readable option". The safe_key is the information stored in the database, and the readable option is what is displayed to the user. When the data is sent to HubSpot, it is the safe_key which is sent and stored, so ensure the safe_key is meaningful to you.

Warning: The Options element module changes the Webform configuration to make specifying a "Select options" field easier. The "safe_key|Some readable option" formatting is replaced with a friendlier interface. However, the Options element module by default gives safe_keys of 0, 1, 2, 3... for successive options, rather than meaningful names. When the data is sent to HubSpot, the field will simply say "1" rather than any value meaningful to you. Use the "manual entry" link on the field to provide your own safe_keys.

Help improve this page

Page status: Not set

You can: