So I’m passing a variable to the form for selecting images on a webpage for HubSpot to then collect for ordering purposes. How do I make it that it’s required? In the form itself there is the option for hidden and required. We want the variable to be hidden but required that something is chosen. I’m thinking it would just need to have required on the target to make it work. Thoughts?
Is this an embedded form, a native HubSpot form, or a custom HTML form? For the first two, it’s not currently possible to make a hidden field required (and vice versa) since a customer cannot enter data to a hidden field to fulfill the requirement. You’d need to validate that an image was selected client side.