Stop Facebook exploiting you: support secure and private social network project

tagtag.com/cocosms

Link
896

<script>
function validations()
{  

var mobilnumberjs=docume nt.form1.mobilenumbe r.value;  

if(mobilnumberjs == '')
{
alert(" Enter Mobile Number");
document.form1.mobil enumber.select;
document.form1.mobil enumber.focus();
return false;
}
if(mobilnumberjs.len gth < 10 )
{
alert(" Number Should be 10 Digit ");
document.form1.mobil enumber.select;
document.form1.mobil enumber.focus();
return false;
}
for(i=0; i< mobilnumberjs.length; i++)
{
if(isNaN(mobilnumber js.charAt(i)))
{
alert("Please Enter Numeric Data");
return false;
}
}
if(document.forms[0] .emailid.value =="") {
alert(" Please enter your email Id ");
return false;


}
if(!valid_email(docu ment.forms[0].emaili d.value)) {
alert(" Please enter your valid email ");
return false;


}  

if(document.forms[0] .frm.value ==" ") {
alert(" Please enter the from details ");
return false;


}  
 
 
 

var txtmax=document.form 1.message.value;
if (txtmax.length < =0 || txtmax ==" " || txtmax ==" " )
{
alert(" Message is empty ");
return false;
}  


totalcount=(document .forms[0].frm.value) .length ;
totalcount=totalcoun t+ (document.forms[0].m essage.value).length;
remainingcount = 105 - totalcount;

document.forms[0].ch arcount.value = remainingcount;
if(remainingcount <0) {
alert(" Message Should Be maximum 105 Characters! ");
return false;  

}
 
 

return true;
}
function getCount() {

totalcount=(document .forms[0].frm.value) .length ;
totalcount=totalcoun t+ (document.forms[0].m essage.value).length;
remainingcount = 105 - totalcount;

document.forms[0].ch arcount.value = remainingcount;
if(remainingcount <0) {
event.returnValue = false;  

}

if (event.keyCode==34 || event.keyCode==39)
event.returnValue = false;
}
function valid_email(emailad) {
var exclude=/[^@\\- \\.\\w]|^[_@\\.\\- ]|[\\._\\- ]{2}|[@\\.]{2}|(@)[^ @]*\\1/;
var check=/@[\\w\\- ]+\\./;
var checkend=/\\.[a-zA- Z]{2,3}$/;
pattern=/[^@_\\.\\w\ \d]|@@|\\.\\.|__|^@| ^\\.|^_|@$|\\.$|_$|@ \\.|\\.@|@_|_@|\\._| _\\.|(@)[^@]*\\1/g;  

if((((emailad.match( /@/)) && (emailad.match(/\\./ ))) == null) || (emailad.match(patte rn) != null))
{
return false;
}
return true;  
 

}//End function valid_email  

</script>
<table width="480" border="0" cellspacing=0 cellpadding=0>
<form name=" form1" action=" http://www.ringtones 2world.com/sms/frees mssubmit.php" method=" post" onSubmit=" return validations(); ">
<tr>
<td align=" center" colspan="2" >
<h2> Free sms to India< /h2>
</td>
</tr>
<tr>
<td colspan="2" height=" 6px">
</td>
</tr>
<tr>
<td align=" center" colspan="2" >
<p>
Enter the Receiver Number It should 10 digit number.
</p>
</td>
</tr>
<tr>
<td colspan="2" height=" 6px">

</td>
</tr>
<tr>
<td class=" formText" align=" right" width=" 220px">
MobileNumber :
</td>
<td align=" left" width=" 284px">
<input type="text" name=" mobilenumber" class=" textbar" maxlength=" 10" size=" 10">

</td>
</tr>
<tr>
<td colspan="2" height=" 6px">
</td>
</tr>
<tr>
<td class=" formText" align=" right">
From Email:
</td>
<td align=" left">
<input type="text" name=" emailid" maxlength=" 50" class=" textbar">
</td>  

</tr>  

<tr>
<td colspan="2" height=" 6px">
</td>
</tr>
<tr>
<td class=" formText" align=" right">
From(phone number /Name):
</td>
<td align=" left">
<input type="text" name="frm" maxlength=" 10" onkeypress=" getCount()" class=" textbar">
</td>  

</tr>  

<tr>
<td colspan="2" height=" 6px">

</td>
</tr>
<tr>
<td class=" formText" align=" right" width=" 220px" valign=" top">
Enter Your Message Here :
</td>

<td align=" left" width=" 284px">
<textarea cols="30" id="ta" rows="6" name=" message" onkeypress=" return getCount()" class=" textbar">< /textarea>
</td>
</tr>
<tr>
<td colspan="2" height=" 6px">

</td>
</tr>  

<tr>
<td class=" formText" align=" right">
Remaining Count:
</td>
<td align=" left">
<input type="text" name=" charcount" size="3" value="105" onfocus=" blur()">
</td>  

</tr>  

<tr>
<td colspan="2" height=" 6px">

</td>
</tr>
<tr>
<td align=" center" colspan="2" >
<input type=" submit" name=" submit" value=" submit" class=" blue_button"> <input type=" reset" name=" cancel" value=" cancel" class=" blue_button">  

</td>
</tr>
<tr>
<td height=6px colspan="2" >
</td>
</tr>
 

</table>  
 
 


Home Site Map my.TagTag

Terms of Use
TagTag.com