diff --git a/pages/registration.html b/pages/registration.html index e0bd198..0059c03 100644 --- a/pages/registration.html +++ b/pages/registration.html @@ -121,9 +121,10 @@
email
- + - + +
@@ -327,6 +328,7 @@ *
+
Product Launched?

@@ -356,42 +358,41 @@
-
-
+
Error ! Please fill in all fields.
web
- +
Error ! Please fill in all fields.
link
- +
Error ! Please fill in all fields.
format_list_numbered
- +
Error ! Please fill in all fields.
view_stream
- +

Have you risen any funding yet?

payment
- diff --git a/script.js b/script.js index 7e9cb9d..3477733 100644 --- a/script.js +++ b/script.js @@ -60,6 +60,7 @@ }; $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ + $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ // $scope.Textshow = "yes" $scope.max = 100; $scope.current = 0; @@ -114,6 +115,9 @@ }; $scope.emailcheck = function(val) { + console.log(val) + $scope.space = /\s/g.test(val); + console.log("space",$scope.space) if (val == undefined) { $('#invalidEmail').css('display', 'block'); } else { @@ -176,6 +180,8 @@ } }; + + /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ $(document).ready( @@ -390,7 +396,9 @@ $scope.stage = function(stage) { $scope.stagekeyPress(); console.log("stage--2",stage) + if (stage == 'Idea') { + $scope.Productshow = "no"; $scope.current = 10; $scope.proto = true; $scope.prototyp = false; @@ -407,6 +415,7 @@ $scope.Product = false; $scope.Growth = false; } else if (stage == 'Product') { + $scope.Productshow = "no"; $scope.current = 10; $scope.proto = true; $scope.prototyp = true; @@ -423,10 +432,11 @@ $scope.Product = true; $scope.Growth = false; } else if (stage == 'Growth') { + $scope.Productshow = "yes"; $scope.current = 10; $scope.proto = false; - $scope.prototyp = false; - $scope.protyp = true; + $scope.prototyp = true; + $scope.protyp = false; $scope.market = true; $scope.risks = true; $scope.team = true; @@ -440,6 +450,12 @@ $scope.data.stage = stage; } } + + $scope.emailTest = function(s){ + $scope.space = /\s/g.test(s.delegateTarget.value); + console.log("space",$scope.space) + + } // $scope.enterbusiness = function(business) { // console.log("business", business); // if (name == undefined) { @@ -777,11 +793,15 @@ /*open videos ends here*/ $scope.removeError = function() { + console.log("doooo") $('#invalidEmail').css('display', 'none'); $('#alreadyExist').css('display', 'none'); }; $scope.emailcheck = function(val) { + consol.log("kdsbd") + $scope.space = /\s/g.test(val); + console.log("space",$scope.space) if (val == undefined) { $('#invalidEmail').css('display', 'block'); } else {