Form Validation

Status: Idea Submitted

HubSpot should provide the validation options like field will accept only chars, numbers, chars & numbers both, links in the form fields so one can select the appropriate one as per one’s use. It would be similar to what we have currently to block generic ids in emails

Thanks,

Varun

I want to expand on this capability to validate the values entered into a form with various rules. Similar to the rules that allow us to prevent free domains from filling out our forms. It would be nice to have the ability to limit what the acceptable range values are that can be entered into a form field.

So for example:

  1. You have a form intended for someone to reach out to you to get in touch. In our case, they let us know the date they need our services. We want to validate the date they select to prevent people from entering an unacceptable date. Right now people are entering a date 1,000 years in the future, and we want to limit this to 3 years.
  2. You have a message field for the user to let us know what services they are looking for or ask us a question. We would want to validate this message to make sure it was not just jibberish.

This is a basic security feature that should be available for all.

Right now form submissions can used to create phishing emails on behalf of the company name, and these kind of validation can help preventing it.

Hi team,
expanding on this: it would be helpful if we can restrict the text within a form to a specific language too.
For instance, even if the form fields are in english, customers can still submit content in mandarin. Having a validation tool for that would be super helpful to ensure clean submissions.
Thank you!

Please accept the form field validation on first name, it shouldnt accept 123 or abc. Hope to get it soon.

any updates on this feature request? This would be very useful!

I agree that these kind of features are desinged to reduce spam.
Why are they offering features like these on the HubSpot CMS when they don’t work?
I was directed to this post by the support team today, they agreed that the features don’t work and that the product managers reveiew posts like this to improve the platform.

My objective:

To reduce spam and people entering email address in the website url field (I have Catcha setup correctly and it works)

e.g. hjahajajasa

ahahah@.com

Edit Contact property menu:

RULES-

Set min char limit

Set max char limit

Don’t allow special characters like @,#&
These rules does not work at all.
To anybody else I would suggest to create a custom form

Forms API Overview
https://legacydocs.hubspot.com/docs/methods/forms/forms_overview

Use non-HubSpot forms