Little surprised that Miva v9 still allows bogus characters to be saved in a customers email address field.
I have a client where we are implemented some retargeting JS code and I need to pass the billing email address to the code. I'm using &mvt:global:customer:bill_email;
But, I really want to avoid having some person put characters like {[}{;:" in the email address field and having it break the JS code being written out.
Does anyone know if toolkit can easily strip out a list of bad characters from a variable?
-Kevin
I have a client where we are implemented some retargeting JS code and I need to pass the billing email address to the code. I'm using &mvt:global:customer:bill_email;
But, I really want to avoid having some person put characters like {[}{;:" in the email address field and having it break the JS code being written out.
Does anyone know if toolkit can easily strip out a list of bad characters from a variable?
-Kevin
Comment