Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 15 of 15
  1. #1
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Help with Form submission

    Hi. I am new here.
    I wanted help for a JavaScript code.
    You might think I'm lazy for not writing it myself, but the truth is I am not a JavaScript coder. I just have a really simple website and I am trying to do something for which I know JS is required but I don't know how to do it. I've also searched around but couldn't find the appropriate code.

    I created a submission form for users when they log in to my website they can submit their info . when they fill the form and click on submit button is not sending the info to my email .............................please help

    here is my my codes please take a look at it Thanks

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="verify-v1" content="N1J6LLa/OdGf52xzkbegP/YFAD+RaeKa9FQ2/8UJfKo=">
    <title>southernfiremag.co.za</title>
    <link href="southernfiremag.co.za_files/webstyle.css" rel="stylesheet" type="text/css">
    <link href="southernfiremag.co.za_files/balloontip.css" rel="stylesheet" type="text/css">
    <script src="southernfiremag.co.za_files/balloontip.js" type="text/javascript"></script><style media="screen" type="text/css">#FLheader {visibility:hidden}</style><style media="screen" type="text/css">#subFlash {visibility:hidden}</style><style media="screen" type="text/css">
    #footer {visibility:hidden}.style1 {color: #FFFFFF}
    body {
    	background-color: #000000;
    }
    </style></head><body class="sIFR-active"><div id="dhtmltooltip"></div>
    <script src="southernfiremag.co.za_files/gen_validatorv2.js" type="text/javascript"></script>
    
    
    
    <div id="container">
     <script type="text/javascript">
    			var flashvars = {
    				dater:'',
    				
    				};
    			var params = {};
    			params.menu = "false";
    			params.wmode = "transparent";
    			params.bgcolor = "#1A1A1A";
    			var attributes = {};
    			swfobject.embedSWF("/header.swf", "FLheader", "977", "145", "8.0.0", false, flashvars, params, attributes);
    		</script>
     <div id="maincontent">
       <script type="text/javascript">
    			var flashvars = {
    
    				};
    			var params = {};
    			params.menu = "false";
    			params.wmode = "transparent";
    			params.bgcolor = "#1A1A1A";
    			var attributes = {};
    			swfobject.embedSWF("/subHeader.swf", "subFlash", "963", "167", "8.0.0", false, flashvars, params, attributes);
    		</script>
       <div class="textArea">
          <div id="crumbsBar"><b><a href="http://www.southernfiremag.co.za/">SOUTHERN FIRE MAG</a></b> &gt;&gt; <a href="http://www.southernfiremag.co.za/submissions/model_submission.php">MODEL SUBMISSION </a> &gt;&gt; Submit to modelsubmission@southernfiremag.co.za</div>
                <div id="adPanel">
    	  
    	  
    	  
    
    
      			<img src="southernfiremag.co.za_files/become_Southern Fire Girl.png" border="0" height="258" width="292"><br>
            <!-- <a href="/join/"><img src="/images/membershipPrice.jpg" alt="" width="186" height="117" border="0" /></a><br />-->
            <img src="southernfiremag.co.za_files/index_20.jpg" alt="" height="258" width="292"><br>
            <img src="southernfiremag.co.za_files/ban_secure.jpg" alt="" height="120" width="186"><br>
            <img src="southernfiremag.co.za_files/ban_updates.jpg" alt="" height="120" width="186"><br>
        		<br>
    
    			
    			<br class="clear">
    
    			
    			</div>      <div id="mainPanel">
            <h1 style="" class="sIFR-replaced">&nbsp;</h1>
            <h2 class="sIFR-replaced" style="width: 460px;">&nbsp;</h2>
          </div>
          <br class="clearLeft">
          <div style="width: 400px; float: left;">
    	  
      	  <p><span class="style1">Fill out this form with your pics. Be sure to include head-shots, 
     commercial fashion, glamour/swim and beauty.
    </span></p>
    	  
    	  
          <div>
          <form action="index.htm" method="post" enctype="multipart/form-data" name="SOUTHERN FIRE MAG" id="SOUTHERN FIRE MAG">
          <table class="tableBK" border="0" cellpadding="3" cellspacing="1" width="400px">
            <!--DWLayoutTable-->
    	  
    	  			
              
              <tbody><tr>
                <td colspan="2" height="35"></td>
              </tr>
              
              <tr>
                <td width="141" height="24"><b class="formfont"><span style="color: red">*</span><span class="style1"> Name: </span></b></td>
                <td width="242"><input name="name" id="name" size="25" type="text">            </td>
              </tr>
              <tr>
                <td height="24"><b><span style="color: red">*</span><span class="style1"> Email:</span></b></td>
                <td><input name="email" id="email" size="25" type="text">            </td>          </tr>
              <tr>
                <td height="24"><span class="style1">Address:</span></td>
                <td><input name="address" id="address" size="25" type="text">            </td>
              </tr>
              <tr>
                <td height="24"><span class="style1">City:</span></td>
                <td><input name="city" id="city" size="25" type="text">            </td>
              </tr>
              <tr>
                <td height="24"><span class="style1">State:</span></td>
                <td><input name="state" id="state" size="25" type="text">            </td>
              </tr>
    		<tr>
                <td height="24"><span class="style1">Zip:</span></td>
                <td><input name="zip" id="zip" size="25" type="text">            </td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Phone:</span></td>
                <td><input name="phone" id="phone" size="25" type="text">            </td>
              </tr>
    		  
    			<tr>
                <td height="29">&nbsp;</td>
                <td>&nbsp;</td>
    			</tr>		  
              <tr>
                <td height="24"><span style="color: red">*</span><span class="style1"> Stage Name:</span></td>
                <td><input name="alias" id="alias" size="25" type="text">            </td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Age:</span></td>
                <td class="tdGrey2"><input name="age" id="age" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Ethnicity:</span></td>
                <td class="tdGrey2"><input name="ethnicity" id="ethnicity" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Height:</span></td>
                <td class="tdGrey2"><input name="height" id="height" size="25" type="text"></td>
              </tr>
    		  <tr>
                <td height="25"><span class="style1">Weight:</span></td>
                <td class="tdGrey2"><select name="weight">
                  <option selected="selected" value="85-99">85-99</option>
                  <option value="100-110">100-110</option>
                  <option value="111-115">111-115</option>
                  <option value="116-125">116-125</option>
                  <option value="126-135">126-135</option>
                  <option value="136-145">136-145</option>
                  <option value="146-155">146-155</option>
                  <option value="156-165">156-165</option>
                  <option value="Other">Other</option>
                </select></td>
              </tr>
    		  <tr>
                <td height="24"><span class="style1">Bust:</span></td>
                <td class="tdGrey2"><input name="bust" id="bust" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Waist:</span></td>
                <td class="tdGrey2"><input name="waist" id="waist" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Hip:</span></td>
                <td class="tdGrey2"><input name="hip" id="hip" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Shoe:</span></td>
                <td class="tdGrey2"><input name="shoe" id="shoe" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Dress:</span></td>
                <td class="tdGrey2"><input name="dress" id="dress" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Agency:</span></td>
                <td class="tdGrey2"><input name="agency" id="agency" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Personal Website:</span></td>
                <td class="tdGrey2"><input name="website" id="website" size="25" type="text"></td>
              </tr>
    		 
    		<tr>
                <td height="29">&nbsp;</td>
                <td>&nbsp;</td>
    		</tr>		  
    
              <tr>
                <td height="45" colspan="2"><span class="style1">We have several different photographers that
     we work with in the following Country.  Please select which Country you 
    are willing to meet with our photographers if selected for a test shoot? </span></td>
              </tr>
    
    
              <tr>
                <td height="25"><span class="style1">Country:</span></td>
                <td><!--<input name="location" type="text" id="location" size="25" value="" > -->
                  <select name="location">
                    <option selected="selected" value="SOUTH AFRCA">SOUTH AFRICA</option>
                    <option value="USA">USA</option>
                    <option value="DRC CONGO">DRC CONGO</option>
                    <option value="ANGOLA">ANGOLA</option>
                    <option value="MOZABIQUE">MOZABIQUE</option>
                    <option value="MILAN">MILAN</option>
                    <option value="OTHERS">OTHERS</option>
                  </select></td>
              </tr>
              <tr>
                <td colspan="2" height="2"></td>
              </tr>
              <tr>
                <td height="32" colspan="2"><span style="color: red;">Image upload is required.</span> <span class="style1">Please upload 1 or up to 4 images below. Each image size must be below 1MB</span></td>
              </tr>
              <tr>
                <td colspan="2" height="2"></td>
              </tr>
              <tr>
                <td height="27"><span style="color: red">*</span><span class="style1"> Image 1</span></td>
                <td><label><span class="td1">
                  <input name="fileatt[]" type="file">
                  </span></label>            </td>
              </tr>
              <tr>
                <td height="27" valign="top"><span class="style1">Image 2 </span></td>
                <td><label><span class="td1">
                  <input name="fileatt[]" type="file">
                </span></label></td>
              </tr>
              <tr>
                <td height="27" valign="top"><span class="style1">Image 3 </span></td>
                <td><label><span class="td1">
                  <input name="fileatt[]" type="file">
                </span></label></td>
              </tr>
              <tr>
                <td height="27" valign="top"><span class="style1">Image 4 </span></td>
                <td><label><span class="td1">
                  <input name="fileatt[]" type="file">
                </span></label></td>
              </tr>
    
    		<tr>
                <td height="29">&nbsp;</td>
                <td>&nbsp;</td>
    		</tr>		  
    
    
              <tr>
                <td height="24"><span class="style1">Myspace<b>:</b></span></td>
                <td><input name="myspace" size="25" type="text"></td>
              </tr>
    
              <tr>
                <td height="24"><span class="style1">ModelMayhem<b>:</b></span></td>
                <td><input name="mayhem" size="25" type="text"></td>
              </tr>
    
    
              <tr>
                <td height="24"><span class="style1">Facebook<b>:</b></span></td>
                <td><input name="facebook" size="25" type="text"></td>
              </tr>
    		  
    		  <tr>
    			<td height="8" colspan="2">
    				<hr>			</td>
    		</tr>
    		  
    		  <tr>
                <td height="24"><span class="style1">Twitter<b>:</b></span></td>
                <td><input name="twitter" size="25" type="text"></td>
              </tr>
    		  
    		  <tr>
    			<td height="32" colspan="2">
    					<span class="style1">Have a twitter account?  If so, let us know your account and we'll post your tweets here.			</span></td>
    		</tr>
    		  
    		<tr>
                <td height="8"></td>
    		    <td></td>
    		</tr>		  
    
    
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">TV</span></td>
                <td>
    
    			<textarea name="tv" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Film</span></td>
                <td>
    
    			<textarea name="film" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Commercial</span></td>
                <td>
    
    			<textarea name="commercial" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Advertising</span></td>
                <td>
    
    			<textarea name="advertising" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Editorial</span></td>
                <td>
    
    			<textarea name="editorial" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Music Video</span></td>
                <td>
    
    			<textarea name="music" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Web</span></td>
                <td>
    
    			<textarea name="web" cols="45" rows="6"></textarea>            </td>
              </tr>
    
              <tr>
                <td height="26" valign="top"><span class="style1">Tattoos?</span></td>
                <td>
    			<input name="tyn" value="yes" type="radio"> Yes <input name="tyn" value="no" checked="checked" type="radio"> No<br>            </td>
              </tr>
    
              <tr>
                <td height="87" valign="top"><span class="style1">Give more details about your tattoos...</span></td>
                <td>
    
    			<textarea name="tattoos" cols="45" rows="6" id="tattoos"></textarea>            </td>
              </tr>
    		  
    		  
    		  <tr>
                <td height="87" valign="top"><span class="style1">Why are you the right girl for SOUTHERN FIRE...</span></td>
                <td><textarea name="description" cols="45" rows="6" id="description"></textarea>            </td>
              </tr>
    		  
    		  
    		  <tr>
                <td height="24" valign="top"><span class="style1">3 + 4 =?</span></td>
                <td>
    			<!--
    			<img src="/submissions/random_code/code.php" alt="" /><br />
    			-->
    			
    			<input name="code" type="text">            </td>
              </tr>
    		  
              <tr>
                <td colspan="2" class="tablebar" height="2"></td>
              </tr>
              <tr>
                <td height="41" colspan="2" align="center" class="tdGrey2">
                  <input name="action" id="action" value="sendform" type="hidden">
    			  <input name="Submit" src="southernfiremag.co.za_files/confrim.gif" value="SUBMIT" type="image">            </td>
              </tr>
              <tr>
                <td colspan="2" class="tdGrey" height="5"></td>
              </tr>
            </tbody></table>
            </form>
                <script language="JavaScript" type="text/javascript">//You should create the validator only after the definition of the HTML form
    
      var frmvalidator  = new Validator("SOUTHERN FIRE MAG");
      
      frmvalidator.addValidation("email","maxlen=50");
      frmvalidator.addValidation("email","req","Please enter your email address");
      frmvalidator.addValidation("email","email");
      
        frmvalidator.addValidation("name","req","Please enter your name");
    	frmvalidator.addValidation("alias","req","Please enter your alias");
      
      
      </script>
          </div>   
       
    
    	</div>
    	<div style="width: 250px; float: left; text-align: left; margin-left: 10px;">
    <!-- right side - inner content -->
    
    <!--
    	<img src="/images/extra/041410/bmd1.jpg" alt="" /><br /><br />
    	<img src="/images/extra/041410/bmd2.jpg" alt="" /><br /><br />
    	<img src="/images/extra/041410/bmd3.jpg" alt="" /><br />
    -->
    	</div>
    	<br class="clear">
    
        </div>
        <br class="clear">
      </div>
      </div>
    <script type="text/javascript">
    	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script><script src="southernfiremag.co.za_files/ga.js" type="text/javascript"></script>
    <script type="text/javascript">
    	try {
    		var pageTracker = _gat._getTracker("UA-589703-16");
    		pageTracker._trackPageview();
    	} catch(err) {}
    </script>
    
    
    
    
    
    </body></html>
    Last edited by VIPStephan; 04-20-2011 at 01:54 PM. Reason: wrapped code with BB tags

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by Bennyrich View Post
    Hi. I am new here.
    I wanted help for a JavaScript code.
    you don't use [ code] and [ /code] tags to wrap your code and you post in the 'Post a PHP snippet' forum to ask about java script code. What you do in fact is to dimmish your chance to get an answer.

    You might think I'm lazy for not writing it myself, but the truth is I am not a JavaScript coder. I just have a really simple website and I am trying to do something for which I know JS is required but I don't know how to do it. I've also searched around but couldn't find the appropriate code.

    I created a submission form for users when they log in to my website they can submit their info . when they fill the form and click on submit button is not sending the info to my email .............................please help



    here is my my codes please take a look at it Thanks









    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="verify-v1" content="N1J6LLa/OdGf52xzkbegP/YFAD+RaeKa9FQ2/8UJfKo=">
    <title>southernfiremag.co.za</title>
    <link href="southernfiremag.co.za_files/webstyle.css" rel="stylesheet" type="text/css">
    <link href="southernfiremag.co.za_files/balloontip.css" rel="stylesheet" type="text/css">
    <script src="southernfiremag.co.za_files/balloontip.js" type="text/javascript"></script><style media="screen" type="text/css">#FLheader {visibility:hidden}</style><style media="screen" type="text/css">#subFlash {visibility:hidden}</style><style media="screen" type="text/css">
    #footer {visibility:hidden}.style1 {color: #FFFFFF}
    body {
    	background-color: #000000;
    }
    </style></head><body class="sIFR-active"><div id="dhtmltooltip"></div>
    <script src="southernfiremag.co.za_files/gen_validatorv2.js" type="text/javascript"></script>
    
    
    
    <div id="container">
     <script type="text/javascript">
    			var flashvars = {
    				dater:'',
    				
    				};
    			var params = {};
    			params.menu = "false";
    			params.wmode = "transparent";
    			params.bgcolor = "#1A1A1A";
    			var attributes = {};
    			swfobject.embedSWF("/header.swf", "FLheader", "977", "145", "8.0.0", false, flashvars, params, attributes);
    		</script>
     <div id="maincontent">
       <script type="text/javascript">
    			var flashvars = {
    
    				};
    			var params = {};
    			params.menu = "false";
    			params.wmode = "transparent";
    			params.bgcolor = "#1A1A1A";
    			var attributes = {};
    			swfobject.embedSWF("/subHeader.swf", "subFlash", "963", "167", "8.0.0", false, flashvars, params, attributes);
    		</script>
       <div class="textArea">
          <div id="crumbsBar"><b><a href="http://www.southernfiremag.co.za/">SOUTHERN FIRE MAG</a></b> &gt;&gt; <a href="http://www.southernfiremag.co.za/submissions/model_submission.php">MODEL SUBMISSION </a> &gt;&gt; Submit to modelsubmission@southernfiremag.co.za</div>
                <div id="adPanel">
    	  
    	  
    	  
    
    
      			<img src="southernfiremag.co.za_files/become_Southern Fire Girl.png" border="0" height="258" width="292"><br>
            <!-- <a href="/join/"><img src="/images/membershipPrice.jpg" alt="" width="186" height="117" border="0" /></a><br />-->
            <img src="southernfiremag.co.za_files/index_20.jpg" alt="" height="258" width="292"><br>
            <img src="southernfiremag.co.za_files/ban_secure.jpg" alt="" height="120" width="186"><br>
            <img src="southernfiremag.co.za_files/ban_updates.jpg" alt="" height="120" width="186"><br>
        		<br>
    
    			
    			<br class="clear">
    
    			
    			</div>      <div id="mainPanel">
            <h1 style="" class="sIFR-replaced">&nbsp;</h1>
            <h2 class="sIFR-replaced" style="width: 460px;">&nbsp;</h2>
          </div>
          <br class="clearLeft">
          <div style="width: 400px; float: left;">
    	  
      	  <p><span class="style1">Fill out this form with your pics. Be sure to include head-shots, 
     commercial fashion, glamour/swim and beauty.
    </span></p>
    	  
    	  
          <div>
          <form action="index.htm" method="post" enctype="multipart/form-data" name="SOUTHERN FIRE MAG" id="SOUTHERN FIRE MAG">
          <table class="tableBK" border="0" cellpadding="3" cellspacing="1" width="400px">
            <!--DWLayoutTable-->
    	  
    	  			
              
              <tbody><tr>
                <td colspan="2" height="35"></td>
              </tr>
              
              <tr>
                <td width="141" height="24"><b class="formfont"><span style="color: red">*</span><span class="style1"> Name: </span></b></td>
                <td width="242"><input name="name" id="name" size="25" type="text">            </td>
              </tr>
              <tr>
                <td height="24"><b><span style="color: red">*</span><span class="style1"> Email:</span></b></td>
                <td><input name="email" id="email" size="25" type="text">            </td>          </tr>
              <tr>
                <td height="24"><span class="style1">Address:</span></td>
                <td><input name="address" id="address" size="25" type="text">            </td>
              </tr>
              <tr>
                <td height="24"><span class="style1">City:</span></td>
                <td><input name="city" id="city" size="25" type="text">            </td>
              </tr>
              <tr>
                <td height="24"><span class="style1">State:</span></td>
                <td><input name="state" id="state" size="25" type="text">            </td>
              </tr>
    		<tr>
                <td height="24"><span class="style1">Zip:</span></td>
                <td><input name="zip" id="zip" size="25" type="text">            </td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Phone:</span></td>
                <td><input name="phone" id="phone" size="25" type="text">            </td>
              </tr>
    		  
    			<tr>
                <td height="29">&nbsp;</td>
                <td>&nbsp;</td>
    			</tr>		  
              <tr>
                <td height="24"><span style="color: red">*</span><span class="style1"> Stage Name:</span></td>
                <td><input name="alias" id="alias" size="25" type="text">            </td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Age:</span></td>
                <td class="tdGrey2"><input name="age" id="age" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Ethnicity:</span></td>
                <td class="tdGrey2"><input name="ethnicity" id="ethnicity" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Height:</span></td>
                <td class="tdGrey2"><input name="height" id="height" size="25" type="text"></td>
              </tr>
    		  <tr>
                <td height="25"><span class="style1">Weight:</span></td>
                <td class="tdGrey2"><select name="weight">
                  <option selected="selected" value="85-99">85-99</option>
                  <option value="100-110">100-110</option>
                  <option value="111-115">111-115</option>
                  <option value="116-125">116-125</option>
                  <option value="126-135">126-135</option>
                  <option value="136-145">136-145</option>
                  <option value="146-155">146-155</option>
                  <option value="156-165">156-165</option>
                  <option value="Other">Other</option>
                </select></td>
              </tr>
    		  <tr>
                <td height="24"><span class="style1">Bust:</span></td>
                <td class="tdGrey2"><input name="bust" id="bust" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Waist:</span></td>
                <td class="tdGrey2"><input name="waist" id="waist" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Hip:</span></td>
                <td class="tdGrey2"><input name="hip" id="hip" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Shoe:</span></td>
                <td class="tdGrey2"><input name="shoe" id="shoe" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Dress:</span></td>
                <td class="tdGrey2"><input name="dress" id="dress" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Agency:</span></td>
                <td class="tdGrey2"><input name="agency" id="agency" size="25" type="text"></td>
              </tr>
              <tr>
                <td height="24"><span class="style1">Personal Website:</span></td>
                <td class="tdGrey2"><input name="website" id="website" size="25" type="text"></td>
              </tr>
    		 
    		<tr>
                <td height="29">&nbsp;</td>
                <td>&nbsp;</td>
    		</tr>		  
    
              <tr>
                <td height="45" colspan="2"><span class="style1">We have several different photographers that
     we work with in the following Country.  Please select which Country you 
    are willing to meet with our photographers if selected for a test shoot? </span></td>
              </tr>
    
    
              <tr>
                <td height="25"><span class="style1">Country:</span></td>
                <td><!--<input name="location" type="text" id="location" size="25" value="" > -->
                  <select name="location">
                    <option selected="selected" value="SOUTH AFRCA">SOUTH AFRICA</option>
                    <option value="USA">USA</option>
                    <option value="DRC CONGO">DRC CONGO</option>
                    <option value="ANGOLA">ANGOLA</option>
                    <option value="MOZABIQUE">MOZABIQUE</option>
                    <option value="MILAN">MILAN</option>
                    <option value="OTHERS">OTHERS</option>
                  </select></td>
              </tr>
              <tr>
                <td colspan="2" height="2"></td>
              </tr>
              <tr>
                <td height="32" colspan="2"><span style="color: red;">Image upload is required.</span> <span class="style1">Please upload 1 or up to 4 images below. Each image size must be below 1MB</span></td>
              </tr>
              <tr>
                <td colspan="2" height="2"></td>
              </tr>
              <tr>
                <td height="27"><span style="color: red">*</span><span class="style1"> Image 1</span></td>
                <td><label><span class="td1">
                  <input name="fileatt[]" type="file">
                  </span></label>            </td>
              </tr>
              <tr>
                <td height="27" valign="top"><span class="style1">Image 2 </span></td>
                <td><label><span class="td1">
                  <input name="fileatt[]" type="file">
                </span></label></td>
              </tr>
              <tr>
                <td height="27" valign="top"><span class="style1">Image 3 </span></td>
                <td><label><span class="td1">
                  <input name="fileatt[]" type="file">
                </span></label></td>
              </tr>
              <tr>
                <td height="27" valign="top"><span class="style1">Image 4 </span></td>
                <td><label><span class="td1">
                  <input name="fileatt[]" type="file">
                </span></label></td>
              </tr>
    
    		<tr>
                <td height="29">&nbsp;</td>
                <td>&nbsp;</td>
    		</tr>		  
    
    
              <tr>
                <td height="24"><span class="style1">Myspace<b>:</b></span></td>
                <td><input name="myspace" size="25" type="text"></td>
              </tr>
    
              <tr>
                <td height="24"><span class="style1">ModelMayhem<b>:</b></span></td>
                <td><input name="mayhem" size="25" type="text"></td>
              </tr>
    
    
              <tr>
                <td height="24"><span class="style1">Facebook<b>:</b></span></td>
                <td><input name="facebook" size="25" type="text"></td>
              </tr>
    		  
    		  <tr>
    			<td height="8" colspan="2">
    				<hr>			</td>
    		</tr>
    		  
    		  <tr>
                <td height="24"><span class="style1">Twitter<b>:</b></span></td>
                <td><input name="twitter" size="25" type="text"></td>
              </tr>
    		  
    		  <tr>
    			<td height="32" colspan="2">
    					<span class="style1">Have a twitter account?  If so, let us know your account and we'll post your tweets here.			</span></td>
    		</tr>
    		  
    		<tr>
                <td height="8"></td>
    		    <td></td>
    		</tr>		  
    
    
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">TV</span></td>
                <td>
    
    			<textarea name="tv" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Film</span></td>
                <td>
    
    			<textarea name="film" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Commercial</span></td>
                <td>
    
    			<textarea name="commercial" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Advertising</span></td>
                <td>
    
    			<textarea name="advertising" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Editorial</span></td>
                <td>
    
    			<textarea name="editorial" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Music Video</span></td>
                <td>
    
    			<textarea name="music" cols="45" rows="6"></textarea>            </td>
              </tr>
    
    		  <tr>
                <td height="87" valign="top"><span class="style1">Web</span></td>
                <td>
    
    			<textarea name="web" cols="45" rows="6"></textarea>            </td>
              </tr>
    
              <tr>
                <td height="26" valign="top"><span class="style1">Tattoos?</span></td>
                <td>
    			<input name="tyn" value="yes" type="radio"> Yes <input name="tyn" value="no" checked="checked" type="radio"> No<br>            </td>
              </tr>
    
              <tr>
                <td height="87" valign="top"><span class="style1">Give more details about your tattoos...</span></td>
                <td>
    
    			<textarea name="tattoos" cols="45" rows="6" id="tattoos"></textarea>            </td>
              </tr>
    		  
    		  
    		  <tr>
                <td height="87" valign="top"><span class="style1">Why are you the right girl for SOUTHERN FIRE...</span></td>
                <td><textarea name="description" cols="45" rows="6" id="description"></textarea>            </td>
              </tr>
    		  
    		  
    		  <tr>
                <td height="24" valign="top"><span class="style1">3 + 4 =?</span></td>
                <td>
    			<!--
    			<img src="/submissions/random_code/code.php" alt="" /><br />
    			-->
    			
    			<input name="code" type="text">            </td>
              </tr>
    		  
              <tr>
                <td colspan="2" class="tablebar" height="2"></td>
              </tr>
              <tr>
                <td height="41" colspan="2" align="center" class="tdGrey2">
                  <input name="action" id="action" value="sendform" type="hidden">
    			  <input name="Submit" src="southernfiremag.co.za_files/confrim.gif" value="SUBMIT" type="image">            </td>
              </tr>
              <tr>
                <td colspan="2" class="tdGrey" height="5"></td>
              </tr>
            </tbody></table>
            </form>
                <script language="JavaScript" type="text/javascript">//You should create the validator only after the definition of the HTML form
    
      var frmvalidator  = new Validator("SOUTHERN FIRE MAG");
      
      frmvalidator.addValidation("email","maxlen=50");
      frmvalidator.addValidation("email","req","Please enter your email address");
      frmvalidator.addValidation("email","email");
      
        frmvalidator.addValidation("name","req","Please enter your name");
    	frmvalidator.addValidation("alias","req","Please enter your alias");
      
      
      </script>
          </div>   
       
    
    	</div>
    	<div style="width: 250px; float: left; text-align: left; margin-left: 10px;">
    <!-- right side - inner content -->
    
    <!--
    	<img src="/images/extra/041410/bmd1.jpg" alt="" /><br /><br />
    	<img src="/images/extra/041410/bmd2.jpg" alt="" /><br /><br />
    	<img src="/images/extra/041410/bmd3.jpg" alt="" /><br />
    -->
    	</div>
    	<br class="clear">
    
        </div>
        <br class="clear">
      </div>
      </div>
    <script type="text/javascript">
    	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script><script src="southernfiremag.co.za_files/ga.js" type="text/javascript"></script>
    <script type="text/javascript">
    	try {
    		var pageTracker = _gat._getTracker("UA-589703-16");
    		pageTracker._trackPageview();
    	} catch(err) {}
    </script>
    
    
    
    
    
    </body></html>
    best regards

  • #3
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    2
    Thanked 0 Times in 0 Posts
    So where do i post this

  • #4
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by Bennyrich View Post
    So where do i post this
    to prevent to do cross posting which is against the rules: ask a moderator to move the thread in the ' JavaScript programming':

    http://www.codingforums.com/javascript-programming/

    best regards

  • #5
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks

  • #6
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,037
    Thanks
    203
    Thanked 2,539 Times in 2,517 Posts
    Suggest you fix the errors in your markup first. See http://validator.w3.org/

    You seem to be wanting to make mailto the action of your form, but there seems not to be any form. The trouble with using this method (mailto) to send form results is its unpredictability. The method it is highly dependent on the browser in use and the email client in use (some people have only Yahoo or Hotmail). In particular, your visitor must have Outlook or Outlook Express as the default client for this to work correctly. Even if your visitor is using Internet Explorer, but the default mail client is different (e.g. Eudora), your mailto form will not work. With all of the browser troubles, you're likely to lose about half of your users' messages. Most of the email clients that can successfully send a mail will prompt the user by a security dialog prior to sending - this can scare many users from continuing.

    Google for PHP feedback scripts - an example is For a simple PHP form feedback script see:- http://www.thesitewizard.com/archive/feedbackphp.shtml
    Last edited by Philip M; 04-20-2011 at 01:48 PM.

  • #7
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,859
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    I just have a really simple website and I am trying to do something for which I know JS is required but I don't know how to do it.
    when they fill the form and click on submit button is not sending the info to my email
    Is that your actual question in that big post? If so, be aware that javascript is purely a client side scripting language and is not capable of doing tasks like sending email.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #8
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by Bennyrich View Post
    Thanks
    you are welcome. I wish sometime to be more easy.

    this is the output of tidy of the page you post in post #1, is valid now but the markup is changed. You need to check how it look and also how this affect your javascript code. Any change you do keep it valid.
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="verify-v1" content="N1J6LLa/OdGf52xzkbegP/YFAD+RaeKa9FQ2/8UJfKo=" />
    <title>southernfiremag.co.za</title>
    <link href="southernfiremag.co.za_files/webstyle.css" rel="stylesheet" type="text/css" />
    <link href="southernfiremag.co.za_files/balloontip.css" rel="stylesheet" type="text/css" />
    <script src="southernfiremag.co.za_files/balloontip.js" type="text/javascript">
    </script>
    <style media="screen" type="text/css">
    /*<![CDATA[*/
    #FLheader {visibility:hidden}
    /*]]>*/
    </style>
    
    <style media="screen" type="text/css">
    /*<![CDATA[*/
    #subFlash {visibility:hidden}
    /*]]>*/
    </style>
    
    <style media="screen" type="text/css">
    /*<![CDATA[*/
    #footer {visibility:hidden}.style1 {color: #FFFFFF}
    body {
            background-color: #000000;
    }
    /*]]>*/
    </style>
    
    <style type="text/css">
    /*<![CDATA[*/
     div.c5 {width: 250px; float: left; text-align: left; margin-left: 10px;}
     div.c4 {width: 400px; float: left;}
     span.c3 {color: red;}
     span.c2 {color: red}
     h2.c1 {width: 460px;}
    /*]]>*/
    </style>
    </head>
    <body class="sIFR-active">
    <div id="dhtmltooltip"></div>
    <script src="southernfiremag.co.za_files/gen_validatorv2.js" type="text/javascript">
    </script>
    <div id="container"><script type="text/javascript">
    //<![CDATA[
                            var flashvars = {
                                    dater:'',
                                    
                                    };
                            var params = {};
                            params.menu = "false";
                            params.wmode = "transparent";
                            params.bgcolor = "#1A1A1A";
                            var attributes = {};
                            swfobject.embedSWF("/header.swf", "FLheader", "977", "145", "8.0.0", false, flashvars, params, attributes);
    //]]>
    </script>
    <div id="maincontent"><script type="text/javascript">
    //<![CDATA[
                            var flashvars = {
    
                                    };
                            var params = {};
                            params.menu = "false";
                            params.wmode = "transparent";
                            params.bgcolor = "#1A1A1A";
                            var attributes = {};
                            swfobject.embedSWF("/subHeader.swf", "subFlash", "963", "167", "8.0.0", false, flashvars, params, attributes);
    //]]>
    </script>
    <div class="textArea">
    <div id="crumbsBar"><strong><a href="http://www.southernfiremag.co.za/">SOUTHERN FIRE MAG</a></strong> &gt;&gt; <a href="http://www.southernfiremag.co.za/submissions/model_submission.php">MODEL SUBMISSION</a> &gt;&gt; Submit to modelsubmission@southernfiremag.co.za</div>
    <div id="adPanel"><img src="southernfiremag.co.za_files/become_Southern%20Fire%20Girl.png" border="0" height="258" width="292" alt="** PLEASE DESCRIBE THIS IMAGE **" /><br />
    <!-- <a href="/join/"><img src="/images/membershipPrice.jpg" alt="" width="186" height="117" border="0" /></a><br />-->
     <img src="southernfiremag.co.za_files/index_20.jpg" alt="" height="258" width="292" /><br />
    <img src="southernfiremag.co.za_files/ban_secure.jpg" alt="" height="120" width="186" /><br />
    <img src="southernfiremag.co.za_files/ban_updates.jpg" alt="" height="120" width="186" /><br />
    <br />
    <br class="clear" /></div>
    <div id="mainPanel">
    <h1 class="sIFR-replaced"> </h1>
    <h2 class="sIFR-replaced c1"> </h2>
    </div>
    <br class="clearLeft" />
    <div class="c4">
    <p><span class="style1">Fill out this form with your pics. Be sure to include head-shots, commercial fashion, glamour/swim and beauty.</span></p>
    <div>
    <form action="index.htm" method="post" enctype="multipart/form-data" id="SOUTHERN_FIRE_MAG">
    <table class="tableBK" border="0" cellpadding="3" cellspacing="1" width="400px"><!--DWLayoutTable-->
    <tbody>
    <tr>
    <td colspan="2" height="35"></td>
    </tr>
    <tr>
    <td width="141" height="24"><strong class="formfont"><span class="c2">*</span> <span class="style1">Name:</span></strong></td>
    <td width="242"><input name="name" id="name" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><strong><span class="c2">*</span> <span class="style1">Email:</span></strong></td>
    <td><input name="email" id="email" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Address:</span></td>
    <td><input name="address" id="address" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">City:</span></td>
    <td><input name="city" id="city" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">State:</span></td>
    <td><input name="state" id="state" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Zip:</span></td>
    <td><input name="zip" id="zip" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Phone:</span></td>
    <td><input name="phone" id="phone" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="29"> </td>
    <td> </td>
    </tr>
    <tr>
    <td height="24"><span class="c2">*</span> <span class="style1">Stage Name:</span></td>
    <td><input name="alias" id="alias" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Age:</span></td>
    <td class="tdGrey2"><input name="age" id="age" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Ethnicity:</span></td>
    <td class="tdGrey2"><input name="ethnicity" id="ethnicity" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Height:</span></td>
    <td class="tdGrey2"><input name="height" id="height" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="25"><span class="style1">Weight:</span></td>
    <td class="tdGrey2"><select name="weight">
    <option selected="selected" value="85-99">85-99</option>
    <option value="100-110">100-110</option>
    <option value="111-115">111-115</option>
    <option value="116-125">116-125</option>
    <option value="126-135">126-135</option>
    <option value="136-145">136-145</option>
    <option value="146-155">146-155</option>
    <option value="156-165">156-165</option>
    <option value="Other">Other</option>
    </select></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Bust:</span></td>
    <td class="tdGrey2"><input name="bust" id="bust" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Waist:</span></td>
    <td class="tdGrey2"><input name="waist" id="waist" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Hip:</span></td>
    <td class="tdGrey2"><input name="hip" id="hip" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Shoe:</span></td>
    <td class="tdGrey2"><input name="shoe" id="shoe" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Dress:</span></td>
    <td class="tdGrey2"><input name="dress" id="dress" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Agency:</span></td>
    <td class="tdGrey2"><input name="agency" id="agency" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Personal Website:</span></td>
    <td class="tdGrey2"><input name="website" id="website" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="29"> </td>
    <td> </td>
    </tr>
    <tr>
    <td height="45" colspan="2"><span class="style1">We have several different photographers that we work with in the following Country. Please select which Country you are willing to meet with our photographers if selected for a test shoot?</span></td>
    </tr>
    <tr>
    <td height="25"><span class="style1">Country:</span></td>
    <td><!--<input name="location" type="text" id="location" size="25" value="" > -->
    <select name="location">
    <option selected="selected" value="SOUTH AFRCA">SOUTH AFRICA</option>
    <option value="USA">USA</option>
    <option value="DRC CONGO">DRC CONGO</option>
    <option value="ANGOLA">ANGOLA</option>
    <option value="MOZABIQUE">MOZABIQUE</option>
    <option value="MILAN">MILAN</option>
    <option value="OTHERS">OTHERS</option>
    </select></td>
    </tr>
    <tr>
    <td colspan="2" height="2"></td>
    </tr>
    <tr>
    <td height="32" colspan="2"><span class="c3">Image upload is required.</span> <span class="style1">Please upload 1 or up to 4 images below. Each image size must be below 1MB</span></td>
    </tr>
    <tr>
    <td colspan="2" height="2"></td>
    </tr>
    <tr>
    <td height="27"><span class="c2">*</span> <span class="style1">Image 1</span></td>
    <td><label><span class="td1"><input name="fileatt[]" type="file" /></span></label></td>
    </tr>
    <tr>
    <td height="27" valign="top"><span class="style1">Image 2</span></td>
    <td><label><span class="td1"><input name="fileatt[]" type="file" /></span></label></td>
    </tr>
    <tr>
    <td height="27" valign="top"><span class="style1">Image 3</span></td>
    <td><label><span class="td1"><input name="fileatt[]" type="file" /></span></label></td>
    </tr>
    <tr>
    <td height="27" valign="top"><span class="style1">Image 4</span></td>
    <td><label><span class="td1"><input name="fileatt[]" type="file" /></span></label></td>
    </tr>
    <tr>
    <td height="29"> </td>
    <td> </td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Myspace<strong>:</strong></span></td>
    <td><input name="myspace" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">ModelMayhem<strong>:</strong></span></td>
    <td><input name="mayhem" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Facebook<strong>:</strong></span></td>
    <td><input name="facebook" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="8" colspan="2">
    <hr /></td>
    </tr>
    <tr>
    <td height="24"><span class="style1">Twitter<strong>:</strong></span></td>
    <td><input name="twitter" size="25" type="text" /></td>
    </tr>
    <tr>
    <td height="32" colspan="2"><span class="style1">Have a twitter account? If so, let us know your account and we'll post your tweets here.</span></td>
    </tr>
    <tr>
    <td height="8"></td>
    <td></td>
    </tr>
    <tr>
    <td height="87" valign="top"><span class="style1">TV</span></td>
    <td>
    <textarea name="tv" cols="45" rows="6">
    </textarea></td>
    </tr>
    <tr>
    <td height="87" valign="top"><span class="style1">Film</span></td>
    <td>
    <textarea name="film" cols="45" rows="6">
    </textarea></td>
    </tr>
    <tr>
    <td height="87" valign="top"><span class="style1">Commercial</span></td>
    <td>
    <textarea name="commercial" cols="45" rows="6">
    </textarea></td>
    </tr>
    <tr>
    <td height="87" valign="top"><span class="style1">Advertising</span></td>
    <td>
    <textarea name="advertising" cols="45" rows="6">
    </textarea></td>
    </tr>
    <tr>
    <td height="87" valign="top"><span class="style1">Editorial</span></td>
    <td>
    <textarea name="editorial" cols="45" rows="6">
    </textarea></td>
    </tr>
    <tr>
    <td height="87" valign="top"><span class="style1">Music Video</span></td>
    <td>
    <textarea name="music" cols="45" rows="6">
    </textarea></td>
    </tr>
    <tr>
    <td height="87" valign="top"><span class="style1">Web</span></td>
    <td>
    <textarea name="web" cols="45" rows="6">
    </textarea></td>
    </tr>
    <tr>
    <td height="26" valign="top"><span class="style1">Tattoos?</span></td>
    <td><input name="tyn" value="yes" type="radio" />Yes <input name="tyn" value="no" checked="checked" type="radio" />No<br /></td>
    </tr>
    <tr>
    <td height="87" valign="top"><span class="style1">Give more details about your tattoos...</span></td>
    <td>
    <textarea name="tattoos" cols="45" rows="6" id="tattoos">
    </textarea></td>
    </tr>
    <tr>
    <td height="87" valign="top"><span class="style1">Why are you the right girl for SOUTHERN FIRE...</span></td>
    <td>
    <textarea name="description" cols="45" rows="6" id="description">
    </textarea></td>
    </tr>
    <tr>
    <td height="24" valign="top"><span class="style1">3 + 4 =?</span></td>
    <td><!--
                            <img src="/submissions/random_code/code.php" alt="" /><br />
                            -->
    <input name="code" type="text" /></td>
    </tr>
    <tr>
    <td colspan="2" class="tablebar" height="2"></td>
    </tr>
    <tr>
    <td height="41" colspan="2" align="center" class="tdGrey2"><input name="action" id="action" value="sendform" type="hidden" /><input name="Submit" src="southernfiremag.co.za_files/confrim.gif" value="SUBMIT" type="image" /></td>
    </tr>
    <tr>
    <td colspan="2" class="tdGrey" height="5"></td>
    </tr>
    </tbody>
    </table>
    </form>
    <script language="JavaScript" type="text/javascript">
    //<![CDATA[
    //You should create the validator only after the definition of the HTML form
    
      var frmvalidator  = new Validator("SOUTHERN FIRE MAG");
      
      frmvalidator.addValidation("email","maxlen=50");
      frmvalidator.addValidation("email","req","Please enter your email address");
      frmvalidator.addValidation("email","email");
      
        frmvalidator.addValidation("name","req","Please enter your name");
            frmvalidator.addValidation("alias","req","Please enter your alias");
      
      
    //]]>
    </script></div>
    </div>
    <div class="c5"><!-- right side - inner content -->
    <!--
            <img src="/images/extra/041410/bmd1.jpg" alt="" /><br /><br />
            <img src="/images/extra/041410/bmd2.jpg" alt="" /><br /><br />
            <img src="/images/extra/041410/bmd3.jpg" alt="" /><br />
    --></div>
    <br class="clear" /></div>
    <br class="clear" /></div>
    </div>
    <script type="text/javascript">
    //<![CDATA[
            var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
            document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    //]]>
    </script><script src="southernfiremag.co.za_files/ga.js" type="text/javascript">
    </script><script type="text/javascript">
    //<![CDATA[
            try {
                    var pageTracker = _gat._getTracker("UA-589703-16");
                    pageTracker._trackPageview();
            } catch(err) {}
    //]]>
    </script>
    </body>
    </html>
    best regards

  • Users who have thanked oesxyl for this post:

    Bennyrich (04-20-2011)

  • #9
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks you Oesxyl

  • #10
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thank you Every one for your help

  • #11
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by Bennyrich View Post
    Thanks you Oesxyl
    you are welcome,
    if you didn't solve the problem would be better if you can post a link to the page to see it online.

    best regards

  • #12
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    2
    Thanked 0 Times in 0 Posts
    sorry for late reply

    here is the website

    http://southernfiremag.co.za/ (NSFW)
    Last edited by evo; 04-23-2011 at 01:20 PM. Reason: removed direct link due to adult content

  • #13
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by Bennyrich View Post
    sorry for late reply

    here is the website

    http://southernfiremag.co.za/
    try to fix the markup:

    http://validator.w3.org/check?verbos...remag.co.za%2F

    is hard to find what's wrong when markup is broken.

    Another thing, I don't know if is the case or not, is not from my point of view, but to avoid problems maybe is better to add a note( warning), about site content when you post links,

    best regards
    Last edited by VIPStephan; 04-23-2011 at 12:55 PM. Reason: removed link

  • #14
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,037
    Thanks
    203
    Thanked 2,539 Times in 2,517 Posts
    Quote Originally Posted by oesxyl View Post
    try to fix the markup:

    http://validator.w3.org/check?verbos...remag.co.za%2F

    is hard to find what's wrong when markup is broken.

    Another thing, I don't know if is the case or not, is not from my point of view, but to avoid problems maybe is better to add a note( warning), about site content when you post links,

    best regards
    The issue of markup was raised in Post #6.

  • #15
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by Philip M View Post
    The issue of markup was raised in Post #6.
    and a partial solution was given in #8,

    best regards


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •