Default/selected values missing in forms API for new form editor?

Marlon96
Member

Hey everyone 👋

 

I’ve run into an issue when working with forms created using the new form editor in HubSpot.

 

When fetching forms via the Forms API (both v2 and v3), I can retrieve selected values just fine when the form was created using the legacy editor — these values show up under defaultValues or selectedOptions (depending on the field type).

 

However, for forms built in the new editor, the same fields do not return any selected options or default values, even though options are clearly configured and preselected in the UI.

 

I’ve double-checked the field configuration in HubSpot, and the selected default values are visible both in the form editor and when viewing the live form via embed or share link. But nothing in the API response reflects those selections.

 

My questions:

• Is this a known limitation of the new editor + API?

• Is there a different endpoint or method to retrieve selected values for these fields?

• Any workaround for accessing this info server-side?

 

The only thing I found is using the getFieldValue method via the new global form events, but this would require rendering the entire form first — which isn’t scalable for my use case.

 

Would really appreciate any insight.

 

Thanks in advance!

0 Upvotes
1 Accepted solution
TomM2
Solution
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Hey @Marlon96 the new forms editor is extremely new and to my knowledge and entire different built of forms, so rendering is completely different. To be honest if you're integrating with anything or trying to pull data I'd personally stick with the "legacy" editor as it's far more reliable, I don't believe the new one supports customisations or has any dev docs for it yet. 

I'd definitely recomend adding this info to the ideas forum to pass this info on as a feature request to the product team! 

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.


View solution in original post

2 Replies 2
TomM2
Solution
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Hey @Marlon96 the new forms editor is extremely new and to my knowledge and entire different built of forms, so rendering is completely different. To be honest if you're integrating with anything or trying to pull data I'd personally stick with the "legacy" editor as it's far more reliable, I don't believe the new one supports customisations or has any dev docs for it yet. 

I'd definitely recomend adding this info to the ideas forum to pass this info on as a feature request to the product team! 

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.


BérangèreL
Community Manager
Community Manager

Hi @Marlon96 and welcome, it's a pleasure to have you here! 🤗

Great question, thanks for asking the HubSpot Community!

I have found for you the solution from @TomM2 on this post "Issue: Extracting form submissions data" that might help you!

Let us know how it goes?

Have a beautiful day! 🌞
Bérangère





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes