• Resolved selgive1

    (@selgive1)


    Hi, @ivanpetermann!
    First off all, thank you for your plugin. It solves the problem with the phone mask in the elementor popup window.

    But I have a question. Can I specify a ready-made template before the mask? For example, immediately after filling in +999 is already substituted in the field, and after that comes the mask (00) 000 00 00

    Thank you in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter selgive1

    (@selgive1)

    And one more thing, is it possible to use a space between numbers instead of “-“?

    Plugin Author Ivan Petermann

    (@ivanpetermann)

    Hi @selgive1.

    You can try with the code below.

    $('input[type="tel"]').attr('placeholder', '+999').on('focus', function() { if ($(this).val().length === 0) { $(this).val('+999 '); } }).mask('+999 (00) 000 00 00');

    Thank you for your contact and comment.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom template’ is closed to new replies.