Wondering if it's possible to have a string field have a required format? For example, we want to have fields for product serial numbers with the format:
FOC2514L0VK
and MCN#'s with the format:
MCN-37177843
Was hoping there was a way to ensure that a lead could not incorrectly submit information.
Thanks!
Solved! Go to Solution.
Have you explored Input Masking? It could get a little tricky if you're using the same field for both types of serial numbers, but that could be a good start.
Is this in a Marketo form?
If so, @Christiane_Rode's notion of masking might get you there. If the format requirements are more advanced that the native Marketo masking can accomodate, it isn't hard to use a little JavaScript to validate the field and provide feedback on what info is required.
Cheers
Jo
Have you explored Input Masking? It could get a little tricky if you're using the same field for both types of serial numbers, but that could be a good start.
Is this in a Marketo form?
If so, @Christiane_Rode's notion of masking might get you there. If the format requirements are more advanced that the native Marketo masking can accomodate, it isn't hard to use a little JavaScript to validate the field and provide feedback on what info is required.
Cheers
Jo