diff --git a/pages/registration.html b/pages/registration.html index e9bbe58..2823dff 100644 --- a/pages/registration.html +++ b/pages/registration.html @@ -26,17 +26,9 @@
email
- - - -
-
- phone -
- - - + + +
@@ -55,6 +47,14 @@
+
+
+ phone +
+ + + +
perm_identity diff --git a/script.js b/script.js index cf60c24..77d01a5 100644 --- a/script.js +++ b/script.js @@ -325,6 +325,19 @@ } }; + $scope.removeNoError = function() { + $('#invalidNumber').css('display', 'none'); + $('#alreadyExist').css('display', 'none'); + }; + + $scope.numbercheck = function(val) { + if (val == undefined) { + $('#invalidNumber').css('display', 'block'); + } else { + $('#alreadyExist').css('display', 'block'); + } + }; + // $scope.$on('city', function (event, value) { $scope.data.city = localStorage.getItem("city"); console.log("HERE===",$scope.data.city );