Marketo form field validation | Community
Skip to main content
PatrickCumiskey
Level 2
Sep 27, 2022 2:48 PM UTC
Solved

Marketo form field validation

Hi - I have been using a form to collect customer registrations (From current customers) for an event with the added bonus of collecting some additional data points.

The issue that i am finding, is that customers are able to enter invalid information into the form due to a lack of field validation options. E.g. in a field that is number only, customers can enter text such as "Dont know" etc.

Is there a way to add some validation to the fields in the form?

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Sep 27, 2022 5:12 PM UTC
"Validation" is a very broad term but yes, you can add all manner of custom regex-based validation to form fields. However, here it sounds like you just didn't set the form field type to Number in Form Editor. This doesn't require any custom code.

3 replies

Kaitlyn_Simko
Level 4
Sep 27, 2022 7:27 PM UTC

Hey there,

 

Marketo recently released an update to Form Validation rules.  I suggest checking this out and seeing if there is a way to implement global rules on your forms for scalibility.  

https://experienceleague.adobe.com/docs/marketo/using/product-docs/administration/settings/global-form-validation-rules.html?lang=en

 

Kaitlyn

Translate
SanfordWhiteman
Level 10
Sep 27, 2022 7:37 PM UTC

Marketo recently released an update to Form Validation rules. 

That’s about email fields, though.

Translate
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Sep 27, 2022 5:12 PM UTC
"Validation" is a very broad term but yes, you can add all manner of custom regex-based validation to form fields. However, here it sounds like you just didn't set the form field type to Number in Form Editor. This doesn't require any custom code.
Translate