Marketo form field validation | Community
Skip to main content
PatrickCumiskey
New Participant
September 27, 2022
Solved

Marketo form field validation

  • September 27, 2022
  • 2 replies
  • 4609 views

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.
Best answer by SanfordWhiteman
"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.

2 replies

Kaitlyn_Simko
New Participant
September 27, 2022

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

SanfordWhiteman
New Participant
September 27, 2022

Marketo recently released an update to Form Validation rules. 

That’s about email fields, though.

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
September 27, 2022
"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.