Form autofilling even when conditional logic doesn't show question

We have a form that gets regularly submitted by the same people.

That form has a branching/conditional logic section — something like:

“Did you eat breakfast?” If yes, the question below appears. If no, they don’t see it.

“If yes, describe what you ate”

We’re finding that if someone has filled it out once, their answer for the conditional logic is autofilled, regardless of whether the “if” statement is true. The client never sees the second question, but their answer seems to autofill without them seeing it and gets sent to us. Weirdly if we export all the submissions, it appears everything worked correctly, but the form contents are sent to us with the phantom autofill answer included.

Has anyone else encountered this? Seems like a big problem!

@CourtneyHC I would ensure that your ‘pre-populating known values’ toggle is off:

If this post helped to solve what you were looking for, please mark this as an accepted solution. Happy HubSpotting!

Yup! it is off.

Hi @CourtneyHC. I tested this in my account and it’s working as expected.

I created the breakfast questions as properties. Did you eat breakfast? is a radio select. They can choose Yes or No. On the form, if Yes is chosen, they see the “Describe what you ate” property, open text.

When I tested the form, I first chose No. Then I refreshed as if I were coming back the next day, and No was chosen, but I chose Yes instead, and the form asked what I ate. So I entered data.

Then I refreshed again, and I saw what I’d answered before. When I switched to No, the dependent field went away.

One more refresh, and choosing Yes re-opened the “what did you eat” property. It does have the previous data in it, but I can change it.

Is that how it’s working for you? That’s expected behavior, but if that’s not what you’re seeing, it may be a setting issue, or a form dependent field issue. Looking forward to clarification.

Hi Dan,

So if the “yes” box never appears, but was filled out as yes the day before… the answer from the day before will still appear in there? I don’t have prepopulate on. No other previous fields are retained.

If this is expected behaviour, I think it seems flawed. I don’t know how we could ever expect the client to click yes, edit the previous day’s answer and then click no and have the box go away.

If seems like the only answer for us is to have no conditional/if then questions and simply have the “if yes, what did you eat” box always visible.

@CourtneyHC if the pre-populate is off, but there’s still data in the property (since it doesn’t clear everyday but instead the data exists in the contact record), and you have conditional/dependent fields turned on, then this is still expceted behavior.

If you want to create a workflow to clear this property everyday, you can do that. But that’s not something HubSpot does standard. Data entered into a proprerty will exist and will not be cleared, which means if someone comes back to your form and fills it out again, they’re either seeing what’s there or they aren’t seeing a dependent field.

I’d say that if you want to have them be able to fill this out daily, you’d either need to keep pre-populate on so they can simply update their data, even when there’s a dependent property, or that it needs to simply be a regular property.

Hope that helps - good luck!