From ef4f00355efc9f7b98a81bda64e18708a3070154 Mon Sep 17 00:00:00 2001 From: Danilo Poccia Date: Fri, 16 Sep 2016 11:20:43 +0100 Subject: [PATCH 1/3] Update signup.html Changed phone format to be +{country code}{phone number} in HTML - same fix required in JS --- S3WebApp/S3/modules/signup/signup.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/S3WebApp/S3/modules/signup/signup.html b/S3WebApp/S3/modules/signup/signup.html index d745e20..aeb7137 100644 --- a/S3WebApp/S3/modules/signup/signup.html +++ b/S3WebApp/S3/modules/signup/signup.html @@ -38,10 +38,10 @@

Sign Up

- +

This field is required

-

Digits only please. Must be a valid 10 digit phone number

+

Digits only please. Must start with + and the country code, cannot be longer than 16 digits

From 06053575a21a364feb560288ceb3c6c9b540918c Mon Sep 17 00:00:00 2001 From: Danilo Poccia Date: Fri, 16 Sep 2016 11:21:23 +0100 Subject: [PATCH 2/3] Update signup.js Changed phone format to be +{country code}{phone number} in JS - same fix required in HTML --- S3WebApp/S3/modules/signup/signup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/S3WebApp/S3/modules/signup/signup.js b/S3WebApp/S3/modules/signup/signup.js index 21f5267..4b01d33 100644 --- a/S3WebApp/S3/modules/signup/signup.js +++ b/S3WebApp/S3/modules/signup/signup.js @@ -37,7 +37,7 @@ angular.module('chatApp.signup', ['chatApp.utils']) }; var dataPhoneNumber = { Name : 'phone_number', - Value : '+1' + $scope.user.phone + Value : $scope.user.phone }; var dataName = { Name : 'name', From fd60bc564c0e6be3daa1e8d3d90a28af6bf8f0cf Mon Sep 17 00:00:00 2001 From: Danilo Poccia Date: Fri, 16 Sep 2016 11:23:20 +0100 Subject: [PATCH 3/3] Update signup.html --- S3WebApp/S3/modules/signup/signup.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/S3WebApp/S3/modules/signup/signup.html b/S3WebApp/S3/modules/signup/signup.html index aeb7137..112c4c2 100644 --- a/S3WebApp/S3/modules/signup/signup.html +++ b/S3WebApp/S3/modules/signup/signup.html @@ -38,10 +38,10 @@

Sign Up

- +

This field is required

-

Digits only please. Must start with + and the country code, cannot be longer than 16 digits

+

Digits only please. Must start with + and the country code, must be between 9 and 16 digits