Скрипт: https://igorescobar.github.io/jQuery-Mask-Plugin/
<form> <input type="text" class="phone"> <input type="submit" value="Отправить заявку"> </form>
$(document).ready(function(){ $('.phone').mask('+7 000 000 0000', {placeholder: "+7 ___ ___ ____"}); });