Mapping Form Field Names

SOLVE
Highlighted
Occasional Contributor

If there is documentation on how to map an external third form field to a form field in hubspot, I can't find it. I have field names on the external form like: "What state are you planning to build in?". How do I map that? 

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Occasional Contributor

Hi,

Yes, if you query the API you get a very long JSON describing every field.

name will be the system field name or key

options might also be interesting for enumeration fields. If you need to create a dropdown or are mapping values from other sources to one of HubSpot options. value is what you need to save.

 

6 Replies 6
Occasional Contributor

Using the api I get a long output of all the field data. Is the "name" field in the json what I need to key on (I think so)?

Reply
0 Upvotes
Occasional Contributor

Hi,

Yes, if you query the API you get a very long JSON describing every field.

name will be the system field name or key

options might also be interesting for enumeration fields. If you need to create a dropdown or are mapping values from other sources to one of HubSpot options. value is what you need to save.

 

Occasional Contributor

Thank you! 

Reply
0 Upvotes
Occasional Contributor

Got a problem now. The form has 11 fields, of which 10 are propagating just fine. 3 are dropdowns, and two of those work fine, one does not. I have triple checked the field key and it is correct. I have hardcoded a very simple text value. And nothing works. How does one troubleshoot further? 

Reply
0 Upvotes
Occasional Contributor

Hold the horses, I might see the problem ...

Reply
0 Upvotes
Occasional Contributor

Yea, fat fingered ALL the options in the dropdown, sheesh.