Allow for a value within HubDB select and multi-select fields.

tstrack

It’d be great if the select + multi-select fields in HubDB had both a “pretty” name and a value. For example, in my attached screenshot, Agriculture Farming would be the “pretty” name and agriculture_farming would be the value. Or Oil, Gas, & Energy would be the “pretty” name and oil_gas_energy would be the value. I often use these fields for filtering via a custom module and the pretty names make it a pain. ACF in WordPress does a really good job of this offering both a pretty and value as a return format.

 

Screen Shot 2021-07-13 at 8.13.03 AM.png

HubSpot updates
1 Reply
awright415
Contributor

Probably worth mentioning that both values should be available in HubL. (AFAIK, they aren't when using choice fields in custom modules.)