I’ve got a situation where I need to make a change to the value from a drop-down from the options value field to it’s text.
What’s happening is I’ve got a form that’s connected to HubSpot and the drop-down value is sent there. The problem is that it sends the value in the value attribute and not the options text as is shown in the emails and the entries list. It’s a list of posts, so the value of it is the post ID, but the text is the post title. I need the post title, but the post ID gets sent to HubSpot.
Is there a way that I can set the value sent to HubSpot to be the text value instead of the value? I’m very comfortable with PHP and coding, so I’m happy to implement anything that’s going to work here.
Does anyone have any suggestions?