• Resolved Agencia 221B

    (@agencia221b)


    I’m using Forminator Plugin to make the form.

    I put the .phone class in the field, but the mask doesn’t work.

    What am I missing?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ivan Petermann

    (@ivanpetermann)

    Hi @agencia221b,

    Note that the custom class is applied to the main container element of the field, not to the field itself.

    Try using a phone field on the form, and inserting this code in the footer before closing the body tag </body>:

    <script type="text/javascript">
    jQuery(document).ready(function($){
        jQuery("input.forminator-field--phone").addClass("phone");
    });
    </script>
    Thread Starter Agencia 221B

    (@agencia221b)

    Perfect, it works.

    Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t make it to work with Forminator Plugin. Help?’ is closed to new replies.