Commit 8ddc94e00ab2c7bf59cc1fcb0c7898d797d9f31c
1 parent
ccb57727ce
Exists in
master
and in
1 other branch
update
Showing
2 changed files
with
8 additions
and
14 deletions
Show diff stats
pages/registration.html
... | ... | @@ -397,15 +397,17 @@ |
397 | 397 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> |
398 | 398 | </div> |
399 | 399 | <input type="text" class="text-input" required ng-model="data.lastName" placeholder="Last Name *" id="myBtn" name="lastName" ng-change="entername(data.lastName); lastNamekeyPress(data.lastName)"> |
400 | + | |
400 | 401 | </div> --> |
401 | 402 | <div class="col-xs-12 col-md-12 input-wrapper"> |
402 | 403 | <div id="snackbar">Error ! Please fill in all fields.</div> |
403 | 404 | <div class="icon-circle-d"> |
404 | 405 | <i class="material-icons" style="line-height: 30px;">email</i> |
405 | 406 | </div> |
406 | - <input type="email" name="email" ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address *" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)" ng-keyup="emailTest($event)"> | |
407 | + <input type="email" name="email" style="margin-bottom:5px" | |
408 | + ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address *" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)" ng-keyup="emailTest($event)"> | |
407 | 409 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> |
408 | - <label ng-if="check">Email already exist</label> | |
410 | + <label ng-if="check">Email already exist.<a href="http://apply.startupjalsa.com/#/pendingPayment/{{emailId}}">Click here</a> to complete payment</label> | |
409 | 411 | <label style="color: #ff0000;margin: 5px 4px -5px 0px" ng-if="space == true" >Please remove the space.</label> |
410 | 412 | |
411 | 413 | </div> |
... | ... | @@ -897,4 +899,5 @@ |
897 | 899 | <span id="bangalore"></span> |
898 | 900 | <span id="jaipur"></span> |
899 | 901 | <span id="maininvest"></span> |
900 | - </span> | |
901 | 902 | \ No newline at end of file |
903 | + </span> | |
904 | + | |
902 | 905 | \ No newline at end of file | ... | ... |
script.js
... | ... | @@ -367,6 +367,7 @@ |
367 | 367 | $scope.check = false; |
368 | 368 | } else { |
369 | 369 | $scope.check = true; |
370 | + $scope.emailId = searchResult.data[0].id | |
370 | 371 | $('#alreadyExist').css('display', 'block'); |
371 | 372 | |
372 | 373 | } |
... | ... | @@ -829,17 +830,7 @@ |
829 | 830 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); |
830 | 831 | } else { |
831 | 832 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); |
832 | - } | |
833 | -// $http({ | |
834 | -// method: 'GET', | |
835 | -// url: BASE_URL + '/applicants?filter={"where": {"email": '+email+'%25}}' | |
836 | -// // headers: {} | |
837 | -// }).then(function mySuccess(searchResult) { | |
838 | -// console.log("email===>", searchResult.id) | |
839 | -// $scope.getid = searchResult.id; | |
840 | -// abc?id | |
841 | -// }); | |
842 | - | |
833 | + } | |
843 | 834 | } |
844 | 835 | |
845 | 836 | $scope.textCheck = function(){ | ... | ... |