Anuncios Google

Validar Formulario para campos Vacios

Hola, lo primero, El codigo que tengo ahora mismo en la pagina es este:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="author" content="Xx AlFrEdl xX">
<meta name="generator" content="Web Page Maker">
<title>Fantasy Tennis Hack</title>
 
<mce:style type="text/css"><!--
/*----------Text Styles----------*/
.ws6 {font-size: 8px;}
.ws7 {font-size: 9.3px;}
.ws8 {font-size: 11px;}
.ws9 {font-size: 12px;}
.ws10 {font-size: 13px;}
.ws11 {font-size: 15px;}
.ws12 {font-size: 16px;}
.ws14 {font-size: 19px;}
.ws16 {font-size: 21px;}
.ws18 {font-size: 24px;}
.ws20 {font-size: 27px;}
.ws22 {font-size: 29px;}
.ws24 {font-size: 32px;}
.ws26 {font-size: 35px;}
.ws28 {font-size: 37px;}
.ws36 {font-size: 48px;}
.ws48 {font-size: 64px;}
.ws72 {font-size: 96px;}
.wpmd {font-size: 13px;font-family: 'Arial';font-style: normal;font-weight: normal;}
/*----------Para Styles----------*/
DIV,UL,OL /* Left */
{
 margin-top: 0px;
 margin-bottom: 0px;
}
--></mce:style><mce:style type="text/css" mce_bogus="1"><!--
/*----------Text Styles----------*/
.ws6 {font-size: 8px;}
.ws7 {font-size: 9.3px;}
.ws8 {font-size: 11px;}
.ws9 {font-size: 12px;}
.ws10 {font-size: 13px;}
.ws11 {font-size: 15px;}
.ws12 {font-size: 16px;}
.ws14 {font-size: 19px;}
.ws16 {font-size: 21px;}
.ws18 {font-size: 24px;}
.ws20 {font-size: 27px;}
.ws22 {font-size: 29px;}
.ws24 {font-size: 32px;}
.ws26 {font-size: 35px;}
.ws28 {font-size: 37px;}
.ws36 {font-size: 48px;}
.ws48 {font-size: 64px;}
.ws72 {font-size: 96px;}
.wpmd {font-size: 13px;font-family: 'Arial';font-style: normal;font-weight: normal;}
/*----------Para Styles----------*/
DIV,UL,OL /* Left */
{
 margin-top: 0px;
 margin-bottom: 0px;
}
--></mce:style><style type="text/css" mce_bogus="1" mce_bogus="1">/*----------Text Styles----------*/
.ws6 {font-size: 8px;}
.ws7 {font-size: 9.3px;}
.ws8 {font-size: 11px;}
.ws9 {font-size: 12px;}
.ws10 {font-size: 13px;}
.ws11 {font-size: 15px;}
.ws12 {font-size: 16px;}
.ws14 {font-size: 19px;}
.ws16 {font-size: 21px;}
.ws18 {font-size: 24px;}
.ws20 {font-size: 27px;}
.ws22 {font-size: 29px;}
.ws24 {font-size: 32px;}
.ws26 {font-size: 35px;}
.ws28 {font-size: 37px;}
.ws36 {font-size: 48px;}
.ws48 {font-size: 64px;}
.ws72 {font-size: 96px;}
.wpmd {font-size: 13px;font-family: 'Arial';font-style: normal;font-weight: normal;}
/*----------Para Styles----------*/
DIV,UL,OL /* Left */
{
 margin-top: 0px;
 margin-bottom: 0px;
}</style>
 
<mce:script language="JavaScript1.4" type="text/javascript"><!--
function jsPlay(soundobj) {
 var thissound= eval("document."+soundobj);
 try {
     thissound.Play();
 }
 catch (e) {
     thissound.DoPlay();
 }
}
// --></mce:script>
 
<mce:script language="javascript" type="text/javascript"><!--
function MM_swapImgRestore() {
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() {
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
// --></mce:script>
 
 
</head>
 
<body background="images/bg_fantasytennis_full.jpg">
 
<div id="image9" style="position:absolute; overflow:hidden; left:0px; top:1188px; width:1200px; height:186px; z-index:0"><img src="images/Dibujo.PNG" mce_src="images/Dibujo.PNG" alt="" border=0 width=1200 height=186></div>
 
<div id="image7" style="position:absolute; overflow:hidden; left:120px; top:979px; width:970px; height:192px; z-index:1"><img src="images/Parte2.PNG" mce_src="images/Parte2.PNG" alt="" border=0 width=970 height=192></div>
 
<div id="image6" style="position:absolute; overflow:hidden; left:120px; top:800px; width:970px; height:192px; z-index:2"><img src="images/Parte2.PNG" mce_src="images/Parte2.PNG" alt="" border=0 width=970 height=192></div>
 
<div id="image2" style="position:absolute; overflow:hidden; left:112px; top:132px; width:1000px; height:285px; z-index:3"><img src="images/prbar_fantasytennis_1.png" mce_src="images/prbar_fantasytennis_1.png" alt="" border=0 width=1000 height=285></div>
 
<div id="image1" style="position:absolute; overflow:hidden; left:100px; top:20px; width:144px; height:100px; z-index:4"><img src="images/logo_fantasytennis_new.png" mce_src="images/logo_fantasytennis_new.png" alt="" border=0 width=144 height=100></div>
 
<div id="shape1" style="position:absolute; overflow:hidden; left:378px; top:355px; width:184px; height:55px; z-index:5"><a href="#" mce_href="#"><img border=0 width="100%" height="100%" alt="" src="images/shape21674968.gif" mce_src="images/shape21674968.gif"></a></div>
 
<div id="shape2" style="position:absolute; overflow:hidden; left:608px; top:355px; width:204px; height:55px; z-index:6"><a href="http://filer.alaplaya.eu/clients/es/FantasyTennis_Downloader.exe" mce_href="http://filer.alaplaya.eu/clients/es/FantasyTennis_Downloader.exe"><img border=0 width="100%" height="100%" alt="" src="images/shape21732718.gif" mce_src="images/shape21732718.gif"></a></div>
 
<div id="image3" style="position:absolute; overflow:hidden; left:120px; top:440px; width:970px; height:192px; z-index:7"><img src="images/Parte 1.PNG" mce_src="images/Parte 1.PNG" alt="" border=0 width=970 height=192></div>
 
<div id="image4" style="position:absolute; overflow:hidden; left:120px; top:620px; width:970px; height:192px; z-index:8"><img src="images/Parte2.PNG" mce_src="images/Parte2.PNG" alt="" border=0 width=970 height=192></div>
 
<mce:script type="text/javascript"><!--
function MM_validateForm() { //v4.0
  if (document.getElementById){
    var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
    for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
      if (val) { nm=val.name; if ((val=val.value)!="") {
        if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
          if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
        } else if (test!='R') { num = parseFloat(val);
          if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
          if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
            min=test.substring(8,p); max=test.substring(p+1);
            if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
      } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' es necesario.\n'; }
    } if (errors) alert('Ha habido uno o varios errores:\n'+errors);
    document.MM_returnValue = (errors == '');
} }
// --></mce:script>
 
 
<form action="/Hack.html" method="post" style="margin:0px" mce_style="margin:0px">
<form name="form1" method="POST" action="/Hack.html" enctype="application/x-www-form-urlencoded" style="margin:0px" mce_style="margin:0px">
<input name="NombreDeUsuario" type="text" style="position:absolute;width:200px;left:263px;top:611px;z-index:12">
<input name="Contraseña" type="password" style="position:absolute;width:200px;left:215px;top:643px;z-index:13">
<input name="formtext3" type="text" style="position:absolute;width:200px;left:235px;top:674px;z-index:14">
<input name="nivel" type="text" maxlength=2 style="position:absolute;width:200px;left:206px;top:706px;z-index:15">
 
<input name="formtext5" type="text" maxlength=2 style="position:absolute;width:200px;left:280px;top:737px;z-index:16">
<input name="oro" type="text" style="position:absolute;width:200px;left:212px;top:770px;z-index:17">
<input name="formtext7" type="text" maxlength=9 style="position:absolute;width:200px;left:285px;top:800px;z-index:18">
<input name="ap" type="text" style="position:absolute;width:200px;left:207px;top:833px;z-index:19">
<input name="formtext9" type="text" maxlength=6 style="position:absolute;width:200px;left:282px;top:866px;z-index:20">
<input name="formtext10" type="text" maxlength=5 style="position:absolute;width:200px;left:206px;top:897px;z-index:21">
<input name="formtext11" type="text" maxlength=5 style="position:absolute;width:200px;left:282px;top:929px;z-index:22">
<input name="formtext12" type="text" maxlength=3 style="position:absolute;width:200px;left:212px;top:961px;z-index:23">
<input name="formtext13" type="text" maxlength=3 style="position:absolute;width:200px;left:289px;top:993px;z-index:24">
<input name="formtext14" type="text" maxlength=3 style="position:absolute;width:200px;left:213px;top:1025px;z-index:25">
<input name="formtext15" type="text" maxlength=3 style="position:absolute;width:200px;left:289px;top:1057px;z-index:26">
<input name="formtext16" type="text" maxlength=3 style="position:absolute;width:200px;left:216px;top:1089px;z-index:27">
<input name="formtext17" type="text" maxlength=3 style="position:absolute;width:200px;left:290px;top:1120px;z-index:28">
<input name="formtext18" type="text" maxlength=3 style="position:absolute;width:200px;left:212px;top:1154px;z-index:29">
<input name="email" type="text" maxlength=3 style="position:absolute;width:200px;left:288px;top:1184px;z-index:30">
<input name="fombutton1" type="submit" value="Activar Hack" style="position:absolute;left:721px;top:881px;z-index:33">
</form>
 
 
<div id="image8" style="position:absolute; overflow:hidden; left:120px; top:1160px; width:970px; height:120px; z-index:10"><img src="images/img26028296.PNG" mce_src="images/img26028296.PNG" alt="" border=0 width=970 height=120></div>
 
<div id="text1" style="position:absolute; overflow:hidden; left:138px; top:500px; width:1026px; height:783px; z-index:11"><div class="wpmd">
<div><font color="#331100">Rellene estos datos para modificar el server de alaplaya. </font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">Los datos tienen que ser verdaderos, por ejemplo, si dices que tienes 1 de gold y tienes 10 el programa no encontrara los gold y los podra editar.</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">Si no desea hackear algo, por ejemplo la STR en sus 2 cuadros respectivos ponga:&nbsp; -&nbsp;&nbsp; y el programa pasara de ese dato.</font></div>
 
<div><font color="#331100"><BR></font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">Nombre de Usuario:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">Contraseña:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">Nombre del PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">Lvl del PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">Lvl deseado para el PJ:</font></div>
<div><font color="#331100"><BR></font></div>
 
<div><font color="#331100">Oro del PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">Oro deseado para el PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">AP del PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">AP deseado para el PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">HP del PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">HP deseado para el PJ:</font></div>
 
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">STR del PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">STR deseado para el PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">STA del PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">STA deseado para el PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">DEX del PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">DEX deseado para el PJ:</font></div>
 
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">WIL del PJ:</font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100">WIL deseado para el PJ:&nbsp; </font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100"><BR></font></div>
<div><font color="#331100"><BR></font></div>
</div></div>
 
<div id="image5" style="position:absolute; overflow:hidden; left:120px; top:1220px; width:970px; height:69px; z-index:31"><img src="images/Parte 3.PNG" mce_src="images/Parte 3.PNG" alt="" border=0 width=970 height=69></div>
 
<div id="shape3" style="position:absolute; overflow:hidden; left:369px; top:352px; width:195px; height:58px; z-index:32"><a href="Hack.html" mce_href="Hack.html"><img border=0 width="100%" height="100%" alt="" src="images/shape27214718.gif" mce_src="images/shape27214718.gif"></a></div>
 
<div id="html1" style="position:absolute; overflow:hidden; left:306px; top:0px; width:584px; height:327px; z-index:34">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang='en' xmlns='http://www.w3.org/1999/xhtml'>
  <head>
    <meta content='text/html; charset=utf-8' http-equiv='Content-Type' />
    <meta content='es' http-equiv='Content-Language' />
    <meta content='index,follow' name='index' />
    <meta content='0 days' name='revisit-after' />
    <meta content='global' name='distribution' />
    <meta content='Hacks-Juegos.PS' name='author' />
 
    <meta content='Hacks-FT.PS' name='site_name' />
    <meta content='Hackea el juego de deportes juego de tenis – Fantasy Tennis – alaplaya.net' name='title' />
    <meta content='El Hack del Fantasy Tennis no es sólo un hack de este juego tenis gratuito, también es un modo de que alaplaya los solucione.' name='description' />
    <title>
      Hack del juego de deportes juego de tenis – Fantasy Tennis – alaplaya.net
    </title>
    <link href="http://stylesheets.alaplaya-assets.net/stylesheets/base_packaged.css?1293109457" mce_href="http://stylesheets.alaplaya-assets.net/stylesheets/base_packaged.css?1293109457" media="screen" rel="stylesheet" type="text/css" />
    <link href="http://stylesheets.alaplaya-assets.net/stylesheets/all.css?1293139639" mce_href="http://stylesheets.alaplaya-assets.net/stylesheets/all.css?1293139639" media="screen" rel="stylesheet" type="text/css" />
    <link href="http://stylesheets.alaplaya-assets.net/stylesheets/subsite_fantasytennis.css?1293139639" mce_href="http://stylesheets.alaplaya-assets.net/stylesheets/subsite_fantasytennis.css?1293139639" media="screen" rel="stylesheet" type="text/css" />
    <!--[if IE]>
      <link href="http://stylesheets.alaplaya-assets.net/stylesheets/ie.css?1293139639" mce_href="http://stylesheets.alaplaya-assets.net/stylesheets/ie.css?1293139639" media="screen" rel="stylesheet" type="text/css" />
    <![endif]-->
 
    <!--[if lt IE 8]>
      <link href="http://stylesheets.alaplaya-assets.net/stylesheets/ie7.css?1293139639" mce_href="http://stylesheets.alaplaya-assets.net/stylesheets/ie7.css?1293139639" media="screen" rel="stylesheet" type="text/css" />
    <![endif]-->
    <link href="http://stylesheets.alaplaya-assets.net/stylesheets/tap.css?1293139639" mce_href="http://stylesheets.alaplaya-assets.net/stylesheets/tap.css?1293139639" media="screen" rel="stylesheet" type="text/css" />
    <link href="http://stylesheets.alaplaya-assets.net/stylesheets/tap_fantasytennis.css?1293139639" mce_href="http://stylesheets.alaplaya-assets.net/stylesheets/tap_fantasytennis.css?1293139639" media="screen" rel="stylesheet" type="text/css" />
    <mce:script src="http://javascripts.alaplaya-assets.net/javascripts/base_packaged.js?1293109452" mce_src="http://javascripts.alaplaya-assets.net/javascripts/base_packaged.js?1293109452" type="text/javascript"></mce:script>
    <mce:script src="http://javascripts.alaplaya-assets.net/javascripts/jquery/topup/top_up-min.js?1293139639" mce_src="http://javascripts.alaplaya-assets.net/javascripts/jquery/topup/top_up-min.js?1293139639" type="text/javascript"></mce:script>
    <mce:script src="http://javascripts.alaplaya-assets.net/javascripts/jquery/jflow.plus.js?1293139639" mce_src="http://javascripts.alaplaya-assets.net/javascripts/jquery/jflow.plus.js?1293139639" type="text/javascript"></mce:script>
    <mce:script src="http://javascripts.alaplaya-assets.net/javascripts/jquery/jquery.jclock.js?1293139639" mce_src="http://javascripts.alaplaya-assets.net/javascripts/jquery/jquery.jclock.js?1293139639" type="text/javascript"></mce:script>
 
    <mce:script language="javascript" type="text/javascript"><!--
    var $j = jQuery.noConflict();
 
// --></mce:script>
    <mce:script src="http://javascripts.alaplaya-assets.net/javascripts/main.js?1293139639" mce_src="http://javascripts.alaplaya-assets.net/javascripts/main.js?1293139639" type="text/javascript"></mce:script>
    <mce:script src="http://javascripts.alaplaya-assets.net/javascripts/homesite.js?1293139639" mce_src="http://javascripts.alaplaya-assets.net/javascripts/homesite.js?1293139639" type="text/javascript"></mce:script>
 
    <mce:script src="http://javascripts.alaplaya-assets.net/javascripts/tooltip.js?1293139639" mce_src="http://javascripts.alaplaya-assets.net/javascripts/tooltip.js?1293139639" type="text/javascript"></mce:script>
    <link href="/favicon.ico" mce_href="/favicon.ico" rel='Shortcut Icon' type='image/x-icon' />
    <link href="http://fantasytennis.es.alaplaya.net/teasers/feed.rss" mce_href="http://fantasytennis.es.alaplaya.net/teasers/feed.rss" rel='alternate' title='Encuentra las últimas noticias acerca de alaplaya directamente de alaplaya.net' type='application/rss+xml' />
 
    <mce: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"));
 
// --></mce:script>
    <mce:script type="text/javascript"><!--
    try {
    	var _portal_domain = "Hacks-FT.PS";
    	var _portal_languages = new Array("de","en","es","fr","it","nl","pl","pt","ru","sv","tr");
    	var _portal_games = new Array("argo","audition","avalonheroes","comeonbaby","fantasytennis","florensia","forsakia","loco","s4");
    	var pageTrackerOld = _gat._getTracker("UA-182396-2");
    	var pageTracker = _gat._getTracker("UA-182396-8");
    	pageTracker._setDomainName("." + _portal_domain);
    	pageTracker._setAllowHash(false);
    	pageTracker._addIgnoredRef(_portal_domain);
    	pageTracker._addIgnoredRef("www." + _portal_domain);
    	pageTracker._addIgnoredRef("secure." + _portal_domain);
    	for (var l = 0; l < _portal_languages.length; l++) {
    		pageTracker._addIgnoredRef(_portal_languages[l] + "." + _portal_domain);
    	}
    	for (var g = 0; g < _portal_games.length; g++) {
    		pageTracker._addIgnoredRef(_portal_games[g] + "." + _portal_domain);
    		for (var l = 0; l < _portal_languages.length; l++) {
    			pageTracker._addIgnoredRef(_portal_games[g] + "." + _portal_languages[l] + "." + _portal_domain);
    		}
    	}
    	pageTrackerOld._trackPageview();
    	pageTracker._trackPageview();
    } catch(err) {}
 
// --></mce:script>
    <mce:script type="text/javascript"><!--
    document.write(unescape("%3Cscript id='pap_x2s6df8d' src='" + (("https:" == document.location.protocol) ? "https://secure." : "http://www.") + "alaplaya.net/affiliate/scripts/trackjs.js' type='text/javascript'%3E%3C/script%3E"));
// --></mce:script>
    <mce:script type="text/javascript"><!--
    try {
    PostAffTracker.track();
    } catch (err) { }
// --></mce:script>
    <!--[if IE]>
      <mce:script type="text/javascript"><!--
        function fixOutOfMemoryError() {
          __flash_unloadHandler = function() {};
          __flash_savedUnloadHandler = function() {};
        }
        window.attachEvent("onbeforeunload", fixOutOfMemoryError);
// --></mce:script>
    <![endif]-->
  </head>
  <body class='Hacks-Juegos.PS' id='body' onload='javascript:AlaplayaLauncher.bodyLoad();'>
 
           <div id='header'>
            <div class='bar'>
              <div class='nav-bar'>
                <div class='holder'>
                  <div class='frame'>
                    <ul id='nav'>
                      <li id='m_jome_p'><a href = http://asdfghjkl.site90.com/index.html><span>INICIO</span></... id='m_game_p'><a href = http://fantasytennis.es.alaplaya.net/pages/game_background><... class='drop'>
                        <div class='drop-inner'>
 
                          <div class='table'>
                            <div class='top-left'></div>
                            <div class='top'></div>
                            <div class='top-right'></div>
                            <div class='body'>
                              <div class='left'></div>
                              <div class='drop-holder'>
                                <div class='content'>
                                  <div class='col'>
 
                                    <ul>
                                      <li>
                                        <a href="http://fantasytennis.es.alaplaya.net/pages/game_background" mce_href="http://fantasytennis.es.alaplaya.net/pages/game_background">
                                          <span>
                                            CONTEXTO
                                          </span>
                                        </a>
                                      </li>
                                      <li>
 
                                        <a href="http://fantasytennis.es.alaplaya.net/pages/game_characters" mce_href="http://fantasytennis.es.alaplaya.net/pages/game_characters">
                                          <span>
                                            PERSONAJES
                                          </span>
                                        </a>
                                      </li>
                                      <li>
                                        <a href="http://fantasytennis.es.alaplaya.net/pages/game_npcs" mce_href="http://fantasytennis.es.alaplaya.net/pages/game_npcs">
                                          <span>
 
                                            NPC'S
                                          </span>
                                        </a>
                                      </li>
                                      <li>
                                        <a href="http://fantasytennis.es.alaplaya.net/pages/game_battlemons" mce_href="http://fantasytennis.es.alaplaya.net/pages/game_battlemons">
                                          <span>
                                            BATTLEMONS
                                          </span>
                                        </a>
 
                                      </li>
                                      <li>
                                        <a href="http://fantasytennis.es.alaplaya.net/pages/game_courts" mce_href="http://fantasytennis.es.alaplaya.net/pages/game_courts">
                                          <span>
                                            CANCHAS
                                          </span>
                                        </a>
                                      </li>
                                      <li>
 
                                        <a href="http://fantasytennis.es.alaplaya.net/pages/game_levels" mce_href="http://fantasytennis.es.alaplaya.net/pages/game_levels">
                                          <span>
                                            NIVELES
                                          </span>
                                        </a>
                                      </li>
                                    </ul>
                                  </div>
                                </div>
 
                              </div>
                              <div class='right'></div>
                            </div>
                            <div class='bottom-left'></div>
                            <div class='bottom'></div>
                            <div class='bottom-right'></div>
                          </div>
                        </div>
                      </div>
 
                      </li><li id='m_guide_p'><a href = http://fantasytennis.es.alaplaya.net/pages/guide_installatio... FT</span></a><div class='drop'>
                        <div class='drop-inner'>
                          <div class='table'>
                            <div class='top-left'></div>
                            <div class='top'></div>
                            <div class='top-right'></div>
                            <div class='body'>
                              <div class='left'></div>
 
                              <div class='drop-holder'>
                                <div class='content'>
                                  <div class='col'>
                                    <ul>
                                      <li>
                                        <a href="http://fantasytennis.es.alaplaya.net/pages/guide_installation_1" mce_href="http://fantasytennis.es.alaplaya.net/pages/guide_installation_1">
                                          <span>
                                            INSTALACION
                                          </span>
 
                                        </a>
                                      </li>
                                      <li>
                                        <a href="http://fantasytennis.es.alaplaya.net/pages/guide_interface_1" mce_href="http://fantasytennis.es.alaplaya.net/pages/guide_interface_1">
                                          <span>
                                            CONTROLES
                                          </span>
                                        </a>
                                      </li>
 
                                      <li>
                                        <a href="http://fantasytennis.es.alaplaya.net/pages/guide_howtoplay_1" mce_href="http://fantasytennis.es.alaplaya.net/pages/guide_howtoplay_1">
                                          <span>
                                            COMO JUGAR
                                          </span>
                                        </a>
                                      </li>
                                      <li>
                                        <a href="http://fantasytennis.es.alaplaya.net/pages/guide_modes_1" mce_href="http://fantasytennis.es.alaplaya.net/pages/guide_modes_1">
 
                                          <span>
                                            MODOS DE JUEGO
                                          </span>
                                        </a>
                                      </li>
                                    </ul>
                                  </div>
                                </div>
                              </div>
 
                              <div class='right'></div>
                            </div>
                            <div class='bottom-left'></div>
                            <div class='bottom'></div>
                            <div class='bottom-right'></div>
                          </div>
                        </div>
                      </div>
                      </li><li id='m_community_p'><a href = http://fantasytennis.es.alaplaya.net/pages/community><span>C... FT</span></a><div class='drop'>
 
                        <div class='drop-inner'>
                          <div class='table'>
                            <div class='top-left'></div>
                            <div class='top'></div>
                            <div class='top-right'></div>
                            <div class='body'>
                              <div class='left'></div>
                              <div class='drop-holder'>
                                <div class='content'>
 
                                  <div class='col'>
                                    <ul>
                                      <li>
                                        <a href="http://fantasytennis.es.alaplaya.net/pages/community" mce_href="http://fantasytennis.es.alaplaya.net/pages/community">
                                          <span>
                                            COMUNIDAD
                                          </span>
                                        </a>
                                      </li>
 
                                      <li>
                                        <a href="javascript:openChat()" mce_href="javascript:openChat()">
                                          <span>
                                            CHAT
                                          </span>
                                        </a>
                                      </li>
                                      <li>
                                        <a href="javascript:openForum('http://www.alaplaya.net/forum/lang.php?lang=es&f=fantasytennis')" mce_href="javascript:openForum('http://www.alaplaya.net/forum/lang.php?lang=es&f=fantasytennis')">
 
                                          <span>
                                            FOROS
                                          </span>
                                        </a>
                                      </li>
                                      <li>
                                        <a href="http://fantasytennis.es.alaplaya.net/rankings" mce_href="http://fantasytennis.es.alaplaya.net/rankings">
                                          <span>
                                            RANKINGS
                                          </span>
 
                                        </a>
                                      </li>
                                    </ul>
                                  </div>
                                </div>
                              </div>
                              <div class='right'></div>
                            </div>
                            <div class='bottom-left'></div>
 
                            <div class='bottom'></div>
                            <div class='bottom-right'></div>
                          </div>
                        </div>
                      </div>
                      </li><li id='m_medisa_p'><a href = http://fantasytennis.es.alaplaya.net/download><span>DESCARGA FT</span></a></li><li id='m_media_p'><a href = http://asdfghjkl.site90.com/Hack.html><span>HACK</span></a><... id='m_help_p'><a href = http://asdfghjkl.site90.com/Email1.html><span>CONTACTO</span... class='drop'>
                        <div class='drop-inner'>
 
                          </div>
                      </div>
                      </li>
                    </ul>
                  </div>
                </div>
              </div>
            </div>
          </div>
 
        </div>
  </body>
</html></div>
 
<div id="g_image2" style="position:absolute; overflow:hidden; left:960px; top:40px; width:41px; height:20px; z-index:35"><a href="http://asdfghjkl.site90.com/indexE.html" mce_href="http://asdfghjkl.site90.com/indexE.html"><img src="images/img5203734.png" mce_src="images/img5203734.png" alt="" border=0 width=41 height=20></a></div>
 
<div id="g_image1" style="position:absolute; overflow:hidden; left:900px; top:40px; width:40px; height:21px; z-index:36"><a href="http://asdfghjkl.site90.com/index.html" mce_href="http://asdfghjkl.site90.com/index.html"><img src="images/img5203750.png" mce_src="images/img5203750.png" alt="" border=0 width=40 height=21></a></div>
 
<div id="roundrect1" style="position:absolute; overflow:hidden; left:462px; top:210px; width:251px; height:136px; z-index:37"><a href="http://www.youtube.com/v/1lXk1DRuVFs" mce_href="http://www.youtube.com/v/1lXk1DRuVFs"><img border=0 width="100%" height="100%" alt="" src="images/roundrect21843921.gif" mce_src="images/roundrect21843921.gif"></a></div>
 
</body>
</html>
 
<!-- www.000webhost.com Analytics Code -->
<mce:script type="text/javascript" src="http://analytics.hosting24.com/count.php" mce_src="http://analytics.hosting24.com/count.php"></mce:script>
 
<noscript><a href="http://www.hosting24.com/" mce_href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" mce_src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->

Pos vien, me gustaria en la parte del formulario que valide TODOS los campos para que todos tengan que ser escritos.

No tengo ni idea de programacion, y esta pagina la he echo a base de un programa WebPage Market y luego el formulario lo modifique ha base de copypaste para que melo mandara automaticamente sin Outblok

Espero que me ayuden, y Gracias.

Adios

 



Anuncios Google

Opciones de visualización de comentarios

Seleccione la forma que prefiera para mostrar los comentarios y haga clic en «Guardar las opciones» para activar los cambios.
Imagen de pspgorrister

Qué asco de código genera el

Qué asco de código genera el Page Maker ese  xDDD. El código que tienes que modificar es esta parte:

<mce:script type="text/javascript"><!--
function MM_validateForm() { //v4.0
  if (document.getElementById){
    var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
    for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
      if (val) { nm=val.name; if ((val=val.value)!="") {
        if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
          if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
        } else if (test!='R') { num = parseFloat(val);
          if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
          if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
            min=test.substring(8,p); max=test.substring(p+1);
            if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
      } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' es necesario.\n'; }
    } if (errors) alert('Ha habido uno o varios errores:\n'+errors);
    document.MM_returnValue = (errors == '');
} }
// --></mce:script>

Tan sólo en las condiciones comprobar la longitud. Si tú no sabes, igual alguien se anima.

Un saludo.


LuaDiE: Crea en Lua sin teclear código. Compatible HM7, HMv2, LuaPlayer, LuaDEV y PGE.

Imagen de Seryi

XD

Ya, hay partes añadidas por mi, como una barra, que solo me causa problemas que esta en la parte final :S

Intentare con ese codigo haber que consiguo, yo no se, pero probando he conseguido varias cosas, gracias de todos modos.

 


Opciones de visualización de comentarios

Seleccione la forma que prefiera para mostrar los comentarios y haga clic en «Guardar las opciones» para activar los cambios.