Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2. function validateForm() {
  3.     var name=document.forms["appform"]["name"].value;
  4.     var age=document.forms["appform"]["age"].value;
  5.     var location=document.forms["appform"]["location"].value;
  6.    
  7.     var charname=document.forms["appform"]["charname"].value;
  8.     var cspec=document.forms["appform"]["cspec"].value;
  9.     var cds=document.forms["appform"]["cds"].value;
  10.     var cplayed=document.forms["appform"]["cplayed"].value;
  11.     var carmory=document.forms["appform"]["carmory"].value;
  12.    
  13.     var hactivity=document.forms["appform"]["hactivity"].value;
  14.     var hheadset=document.forms["appform"]["hheadset"].value;
  15.     var hhardware=document.forms["appform"]["hhardware"].value;
  16.     var hexp=document.forms["appform"]["hexp"].value;
  17.     var hguilds=document.forms["appform"]["hguilds"].value;
  18.    
  19.     var wmot=document.forms["appform"]["wmot"].value;
  20.     var wjoin=document.forms["appform"]["wjoin"].value;
  21.     var wwhy=document.forms["appform"]["wwhy"].value;
  22.     var wref=document.forms["appform"]["wref"].value;
  23.     var wabout=document.forms["appform"]["wabout"].value;
  24.    
  25.     if (name==null || name=="") {
  26.         alert("You must fill Name.");
  27.         return false;
  28.     } else
  29.    
  30.     if (age==null || age=="") {
  31.         alert("You must fill Age.");
  32.         return false;
  33.     } else
  34.    
  35.     if (location==null ||location=="") {
  36.         alert("You must fill Location.");
  37.         return false;
  38.     } else
  39.    
  40.     if (charname==null || charname=="") {
  41.         alert("You must fill Character Name.");
  42.         return false;
  43.     } else
  44.    
  45.     if (cspec==null || cspec=="") {
  46.         alert("You must fill Spec.");
  47.         return false;
  48.     } else
  49.    
  50.     if (cds==null || cds=="") {
  51.         alert("You must fill DualSpec info.");
  52.         return false;
  53.     } else
  54.    
  55.     if (cplayed==null || cplayed=="") {
  56.         alert("You must fill played time.");
  57.         return false;
  58.     } else
  59.    
  60.     if (carmory==null || carmory=="") {
  61.         alert("You must provide a valid Armory Link.");
  62.         return false;
  63.     } else
  64.    
  65.     if (hactivity==null || hactivity=="") {
  66.         alert("You must fill in the activity info.");
  67.         return false;
  68.     } else
  69.    
  70.     if (hheadset==null || hheadset=="") {
  71.         alert("You must fill the Headset info.");
  72.         return false;
  73.     } else
  74.    
  75.     if (hhardware==null || hhardware=="") {
  76.         alert("You must fill Hardware+Internet connection info.");
  77.         return false;
  78.     } else
  79.    
  80.     if (hexp==null || hexp=="") {
  81.         alert("You must fill your previous Cataclysm experience.");
  82.         return false;
  83.     } else
  84.    
  85.     if (hguilds==null || hguilds=="") {
  86.         alert("You must fill your experience from previous content.");
  87.         return false;
  88.     } else
  89.    
  90.     if (wmot==null || wmot=="") {
  91.         alert("You must fill motivation info.");
  92.         return false;
  93.     } else
  94.    
  95.     if (wjoin==null || wjoin=="") {
  96.         alert("You must tell us why we should pick you.");
  97.         return false;
  98.     } else
  99.    
  100.     if (wwhy==null || wwhy=="") {
  101.         alert("You must tell us why you want to join LamerCrew.");
  102.         return false;
  103.     } else
  104.      
  105.     if (wabout==null || wabout=="") {
  106.         alert("Would be lovely if you filled in something about yourself as well.");
  107.         return false;
  108.     }
  109. }
  110. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement