$('#phone').on('change keyup', function() {
    const phone = $(this).val();
    const numReg = /^[0-9]+$/;

    if(numReg.test(phone) && phone.length == 10)