Commit 91eeb4455ca4b593692ebb8171ad5a43e05ba202
1 parent
f57ff334ec
Exists in
master
and in
1 other branch
modify
Showing
2 changed files
with
9 additions
and
12 deletions
Show diff stats
pages/registration.html
... | ... | @@ -283,9 +283,9 @@ |
283 | 283 | <div class="icon-circle-q"> |
284 | 284 | <i class="material-icons" style="line-height: 31px;">thumb_up</i> |
285 | 285 | </div> |
286 | - <textarea type="text" maxlength="300" class="text-input" required ng-model="data.idea" placeholder="Idea/Product *" id="myBtn" name="Idea" ng-focus="removeNoError()" ng-change="entername(data.idea); ideakeyPress(data.idea)"> | |
286 | + <textarea type="text" maxlength="300" class="text-input" required ng-model="data.idea" placeholder="Idea/Product *" id="myBtn" name="Idea" ng-focus="removeNooError()" ng-change="entername(data.idea); ideakeyPress(data.idea)"> | |
287 | 287 | </textarea> |
288 | - <label class="error-message f-family" id="invalidIdea">please fill 300 maximum characters</label> | |
288 | + <label class="error-message f-family" id="invalidIdea">Please answer using 300 words only.</label> | |
289 | 289 | </div> |
290 | 290 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
291 | 291 | <div class="icon-circle-abcdefg"> | ... | ... |
script.js
... | ... | @@ -155,16 +155,6 @@ |
155 | 155 | }, function myError(error) {}); |
156 | 156 | }; |
157 | 157 | |
158 | - // $scope.removeNooError = function() { | |
159 | - // $('#invalidIdea').css('display', 'block'); | |
160 | - // $('#noExist').css('display', 'none'); | |
161 | - // }; | |
162 | - // $scope.valCheck = function(value){ | |
163 | - // if (value!= undefined) { | |
164 | - // $('#invalidIdea').css('display', 'block'); | |
165 | - // } | |
166 | - // } | |
167 | - | |
168 | 158 | $rootScope.tokenCall = function(val) { |
169 | 159 | console.log('val-------->', val); |
170 | 160 | if (val == undefined) { |
... | ... | @@ -630,11 +620,18 @@ |
630 | 620 | } |
631 | 621 | } |
632 | 622 | |
623 | + $scope.removeNooError = function() { | |
624 | + $('#invalidIdea').css('display', 'block'); | |
625 | + $('#noExist').css('display', 'none'); | |
626 | + }; | |
627 | + | |
633 | 628 | $scope.ideakeyPress = function(financial) { |
634 | 629 | console.log("financial", financial); |
635 | 630 | if (financial == undefined) { |
631 | + $('#invalidIdea').css('display', 'block'); | |
636 | 632 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); |
637 | 633 | } else { |
634 | + $('#invalidIdea').css('display', 'none'); | |
638 | 635 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); |
639 | 636 | } |
640 | 637 | } | ... | ... |