Hello everyone,
I'm busy doing an app for a client. Part of the sign up form is a space for contact number but this particular form doesn't specify land line / mobile, so the user can enter either. I could change the form to have separate fields but I'd still like to validate it anyway.
Is there a way to know if a number entered is mobile or land line? This is SA numbers only for now. I know I could check if it starts with 072 081, etc, etc but it seems that that's not very reliable given that codes have been added in in the past few years.
Thanks,
John
I'm busy doing an app for a client. Part of the sign up form is a space for contact number but this particular form doesn't specify land line / mobile, so the user can enter either. I could change the form to have separate fields but I'd still like to validate it anyway.
Is there a way to know if a number entered is mobile or land line? This is SA numbers only for now. I know I could check if it starts with 072 081, etc, etc but it seems that that's not very reliable given that codes have been added in in the past few years.
Thanks,
John

