Support

Home Forums Event Espresso Premium input mask 3

input mask 3

Posted: June 20, 2017 at 10:02 pm

Viewing 1 reply thread


Cod106

June 20, 2017 at 10:02 pm

Hello,

I would like to be able to add a mask on one of my fields with jquery mask how to proceed? On which file I can add the <script type = ‘text / javascript’ src = ‘file.js’> </ script>

My page

Mask like Mask placeholder option see here:

https://igorescobar.github.io/jQuery-Mask-Plugin/


Tony

  • Support Staff

June 21, 2017 at 3:12 am

Hi there,

You don’t need to edit any files to include custom JavaScript within the checkout, you can use wp_add_inline_script().

Here is an example of using that function to add some JavaScript that automatically checks all checkboxes on the checkout page which you can use a starting point:

https://gist.github.com/Pebblo/e67cc5f8fae20e5ae08380f43f5c3b93

Viewing 1 reply thread

The support post ‘input mask 3’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso