So this line seems to be the problem:
form.getFormElem().find('[name=' + k + ']').unmask();
it errors out saying unmask() is not a function
but if I alter the code to be this:
for...
The form editor is set up by another team. But I specifically asked them to set up those two masks. And I see the validation occurring so I tend to think they are set up. There is ...
Search for id: "phi_dateOfBirth"
and id: "phi_ReferringPhysicianPhone"
Are you saying neither of these fields have a marketo mask on them?
Also does this require adding jquery.mas...
Let me know if you can see this page: https://env6.northwell.edu/test-phi-marketo-form-0
To see the error submit the form with "test" as the value for every string and 1111111111 f...
I added a polyfill that should make the code backward compatible. Let me know if that does not suffice?
But something strange I noticed was that I have at least two inputs with mas...
OK I see how you add it on marketo "whenReady" however I need the form to validate first then inside the onSubmit after running some code I call a method to submit the form. So thi...
Please help. I have tried several ways of removing the input mask on the fields. With no luck
const thisForm = document.getElementById('mktoForm_' + formId);
const phiFields = this...
So adding the REDACTED option and hiding it with js. Would also work no? Just like you did in your blog post?
And I am not familiar with how to remove the literal mask applied to t...
So if your solution is to remove the mask can that be done programmatically?
My question is how do I strip personal information from the values onSubmit (preferably replacing with ...