APIs & Integrations

dbswebsite
Membre

Mapping Form Field Names

Résolue

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? 

0 Votes
1 Solution acceptée
itzco
Solution
Participant

Mapping Form Field Names

Résolue

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.

 

Voir la solution dans l'envoi d'origine

6 Réponses
dbswebsite
Membre

Mapping Form Field Names

Résolue

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)?

0 Votes
itzco
Solution
Participant

Mapping Form Field Names

Résolue

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.

 

dbswebsite
Membre

Mapping Form Field Names

Résolue

Thank you! 

0 Votes
dbswebsite
Membre

Mapping Form Field Names

Résolue

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? 

0 Votes
dbswebsite
Membre

Mapping Form Field Names

Résolue

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

0 Votes
dbswebsite
Membre

Mapping Form Field Names

Résolue

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