Date picker - display setting

Hello,

I have a date on a form that is set to only accept future dates. However, when the date picker appears it lets the user pick and enter a date in the past. Can I set the date picker to only show future dates to be selected from?

When the user submits the form and gets an error it is too late to find out that they can’t do that - bad experience.

Many thanks,

Aly.

Hi @ARichards7,

Validation rules are not currently enforced when setting property values via form submissions or workflows, see here: Set validation rules for a property

In forms, it’s currently not possible to set rules with the native options that HubSpot is offering. You would have to use custom JavaScript on your page to enforce rules, see for example here.

Best regards!

This is a needed feature,

its crazy that you can set rules on a property and it dosen’t affect forms.

Hi @KPrideaux

Thank you for your feedback.

I would highly recommend you to please post these product suggestions on the ideas forum.

Our product team, who monitors the forum regularly, can read your specific use case and understand why this would be a useful functionality or change.

It also helps other customers facing the same issue to advocate for its implementation on your behalf by upvoting on the thread as well.

Thank you,

Victor