Hi there,
I have some issues with my Marketo field form and would like to discuss them with you all.
Not sure if anyone of you knows how to limit the mobile number to 8 digits only in the mobile number field there?
Appreciate your sharing on this!
Solved! Go to Solution.
Sharing JSFiddle for the same as well - http://jsfiddle.net/43Rmm/
That’s not so helpful because it requires the user to know how to directly update the DOM element using JS. Not difficult for a developer but also not necessary here.
The better answer is to use an input mask, a built-in feature.
Hi @nelson6726
You can refer this link - https://stackoverflow.com/questions/19445408/how-to-restrict-user-to-type-10-digit-numbers-in-input-....
Sharing JSFiddle for the same as well - http://jsfiddle.net/43Rmm/
Let me know in case of any concerns.
Thanks!
Jasbir
Sharing JSFiddle for the same as well - http://jsfiddle.net/43Rmm/
That’s not so helpful because it requires the user to know how to directly update the DOM element using JS. Not difficult for a developer but also not necessary here.
The better answer is to use an input mask, a built-in feature.