<div id="loading-container" style="display:none;">
	<div class="loader hide-on-fail"> </div>
</div>

<!-- Activity name for this tag: Register -->
<script>
  (function() {
    var a = String(Math.random()) * 10000000000000;
    new Image().src = 'https://pubads.g.doubleclick.net/activity;xsp=4820566;qty=1;cost=[revenue];ord=[order id]?';
  })();
</script>
<noscript>
  <img src='https://pubads.g.doubleclick.net/activity;xsp=4820566;qty=1;cost=[revenue];ord=[order id]?' width=1 height=1 border=0>
</noscript>
<!-- End Misk PFX signups pixel -->




<script>
// Endpoint checks if authenticated user is part of smith group otherwise add and send email
jQuery.ajax({
  url: "/rest/scriptrunner/latest/custom/ewcAutoMemberShip",
  headers: {
    'X-Atlassian-Token' : 'nocheck',
    'Content-type' : 'application/json'
  },
  type: "POST",
  dataType: 'text',
  data: JSON.stringify({
    
    "email": AJS.params.remoteUser,
	  
  }),
  success: function(text){
    //console.log("Response: "+ text)
	window.location.replace("https://platform.entrepreneurshipworldcup.com/");
  },
  error: function(err){
    alert("trouble");
	window.location.replace("https://platform.entrepreneurshipworldcup.com/");
  }
});

</script>




<div class="main-container">
  <div class="signup-content-container">
    <div class="description-container">
      <p class="welcome-message">Welcome to the EWC 2022 Competition</p>
      <div id="login-message" class="">
        <a href="/display/AN/EWC+login" class="">Already have an account? Login here</a>
        <!--<a class="translation-link fullSite" href="/display/AN/EWC+Signup+ARB" rel="nofollow"><div class="translation-switcher fullSite">عربي</div></a>-->
      </div>	     
    </div>                                                          
    <form name="signupform" id="ewcSignupForm" autocomplete="new-password">       
        <div class="field-group ">
            <label id="fullName-label" for="fullName" class="">Full Name</label>
            <input type="text" name="fullName" id="fullName" class="text fullSite" placeholder="Full Name" data-focus="0" pattern="[a-zA-Z ]*" oninvalid="this.setCustomValidity('Name can only contain valid alphabets!')" oninput="this.setCustomValidity('')" required="">
            <span class="error" > </span>
        </div>                        

        <div class="field-group ">
            <label id="email-label" for="email" class="" autocomplete="new-password">Email</label>
            <input type="email" name="email" id="email" class="text " placeholder="Email">
            <span class="error" > </span>
        </div>	                                                         
                        
        <div class="conditions ">
            <label class="checkbox ">
                <input id="checkbox" type="checkbox" name="privacy" value="privacy" class="" onchange="toggleSubmitBtn()">
                <p class="conditions-message ">By signing up, you agree to our
                    <a href="https://platform.entrepreneurshipworldcup.com/display/AN/Privacy+Policy" target="_blank" rel="noopener noreferrer" class="external-link " data-ext-link-init="true">privacy policy</a> and
                    <a href="https://platform.entrepreneurshipworldcup.com/display/AN/Terms+and+Conditions" target="_blank" rel="noopener noreferrer" class="external-link " data-ext-link-init="true">terms and conditions</a> and
                    <a href="https://www.genglobal.org/ewc/about/rules" target="_blank" rel="noopener noreferrer" class="external-link " data-ext-link-init="true">competition rules</a>
                </p>
            </label>
        </div>
        
        <div class="field-group form-buttons compact-form-buttons ">
            <div>
            <input id="signupButton" class="button-primary " name="signupButton" type="submit" value="Sign Up" disabled="true">
            <img height="0" width="0" src="https://t.teads.tv/track?action=conversion&conversion_type=AE_MiSK_Foundation_signup_July2021&advertiser_id=26889" >
            </div>
        </div>              
    </form>  
  </div>
</div>   


<script type="text/javascript" src="https://gsvlabs-confluence-files.s3.us-west-2.amazonaws.com/js/ewc/Signup+V2/scripts/signupStep1.js"> </script>


<link rel="stylesheet" href="https://gsvlabs-confluence-files.s3.us-west-2.amazonaws.com/js/ewc/Signup+V2/misc/signupFormValidation.css?v=2"> </link>