Podio calculation for formatting phone number

Comments

1 comment

  • Waqar Ahmad

    var phone = @Client Phone number formatted;
    var stripped_phone= phone.replace(/[^0-9]+/g, "");
    var final_phone=""
    var phone_length = stripped_phone.length;
    if(phone_length == 10){
    var final_phone= stripped_phone;
    }
    final_phone;

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk