Ver Mensaje Individual
  #12 (permalink)  
Antiguo 07/09/2010, 12:43
Pury
 
Fecha de Ingreso: julio-2010
Mensajes: 47
Antigüedad: 14 años, 3 meses
Puntos: 1
Respuesta: Posicionarse en campo vacio de un formulario

Código PHP:
                <td width="811"><p align="left" class="Estilo10">1-Pregunta </p></td>
                <
td width="91"><div align="left">
                    <
p>
                      <
label>
                      <
input type="radio" name="GrupoOpciones1" value="Si" />
                      <
span class="Estilo10">Si</span></label>
                      <
label>
                      <
input type="radio" name="GrupoOpciones1" value="No" />
                      <
span class="Estilo10">No</span></label>
                      <
br />
                      <
label></label>
                    </
p>
                </
div></td>
              </
tr>
              <
tr>
                <
td><p align="left" class="Estilo10">2-Pregunta </p></td>
                <
td><div align="left">
                    <
p>
                      <
label>
                      <
input type="radio" name="GrupoOpciones2" value="Si" />
                      <
span class="Estilo10">Si</span></label>
                      <
span class="Estilo10">
                      <
label> </label>
                      </
span>
                      <
label>
                      <
input type="radio" name="GrupoOpciones2" value="No" />
                      <
span class="Estilo10">No</span></label>
                      <
br />
                    </
p>
                </
div></td>
              </
tr>
              <
tr>
                <
td><p align="left" class="Estilo10">3-Pregunta </p></td>
                <
td><div align="left">
                    <
p>
                      <
label>
                      <
input type="radio" name="GrupoOpciones3" value="Si" />
                      <
span class="Estilo10">Si</span></label>
                      <
label>
                      <
input type="radio" name="GrupoOpciones3" value="No" />
                      <
span class="Estilo10">No</span></label>
                    </
p>
                  <
label></label>
                </
div></td>
              </
tr>
              <
tr>
                <
td><p align="left" class="Estilo10">4-Pregunta </p></td>
                <
td><div align="left">
                    <
p>
                      <
label>
                      <
input type="radio" name="GrupoOpciones4" value="Si" />
                      <
span class="Estilo10">Si</span></label>
                      <
span class="Estilo10">
                      <
label> </label>
                      </
span>
                      <
label>
                      <
input type="radio" name="GrupoOpciones4" value="No" />
                      <
span class="Estilo10">No</span></label>
                    </
p>
                  <
label></label>
                </
div></td>
              </
tr>
              <
tr>
                <
td><p align="left" class="Estilo10">5-Pregunta </p></td>
                <
td><div align="left">
                    <
p>
                      <
label>
                      <
input type="radio" name="GrupoOpciones5" value="Si" />
                      <
span class="Estilo10">Si</span></label>
                      <
span class="Estilo10">
                      <
label> </label>
                      </
span>
                      <
label>
                      <
input type="radio" name="GrupoOpciones5" value="No" />
                      <
span class="Estilo10"No</span></label>
                    </
p>
                  <
label></label>
                </
div></td>
              </
tr>
              <
tr>
                <
td><p align="left" class="Estilo10">6-Pregunta </p></td>
                <
td><div align="left">
                    <
p>
                      <
label>
                      <
input type="radio" name="GrupoOpciones6" value="Si" />
                      <
span class="Estilo10">Si</span></label>
                      <
label>
                      <
input type="radio" name="GrupoOpciones6" value="No" />
                      <
span class="Estilo10">No</span></label>
                    </
p>
                  <
label></label>
                </
div></td>
              </
tr>
              <
tr>
                <
td><p align="left" class="Estilo10">7Pregunta </p></td>
                <
td><div align="left">
                    <
p>
                      <
label>
                      <
input type="radio" name="GrupoOpciones7" value="Si" />
                      <
span class="Estilo10">Si</span></label>
                      <
label>
                      <
input type="radio" name="GrupoOpciones7" value="No" />
                      <
span class="Estilo10">No</span></label>
                      <
br />
                    </
p>
                </
div></td>
              </
tr>
              <
tr>
                <
td><p align="left" class="Estilo10">8-Pregunta </p></td>
                <
td><div align="left">
                    <
p>
                      <
label>
                      <
input type="radio" name="GrupoOpciones8" value="Si" />
                      <
span class="Estilo10"Si</span></label>
                      <
label>
                      <
input type="radio" name="GrupoOpciones8" value="No" />
                      <
span class="Estilo10">No</span></label>
                      <
br />
                    </
p>
                </
div></td>
              </
tr>
              <
tr>
                <
td><p align="left" class="Estilo10">9-Pregunta </p></td>
                <
td><div align="left">
                    <
p>
                      <
label>
                      <
input type="radio" name="GrupoOpciones9" value="Si" />
                      <
span class="Estilo10">Si</span></label>
                      <
span class="Estilo10">
                      <
label> </label>
                      </
span>
                      <
label>
                      <
input type="radio" name="GrupoOpciones9" value="No" />
                      <
span class="Estilo10">No</span></label>
                      <
br />
                    </
p>
                </
div></td>
              </
tr>
              <
tr>
                <
td><p align="left" class="Estilo10">10-Pregunta </p></td>
                <
td><div align="left">
                    <
p>
                      <
label>
                      <
input type="radio" name="GrupoOpciones10" value="Si" />
                      <
span class="Estilo10">Si</span></label>
                      <
label>
                      <
input type="radio" name="GrupoOpciones10" value="No" />
                      <
span class="Estilo10">No</span></label>
                      <
br />
                    </
p>
                </
div></td>
              </
tr>
              <
tr>
                <
td><p align="left" class="Estilo10">11-Pregunta </p></td>
                <
td><div align="left">
                    <
p>
                      <
label>
                      <
input type="radio" name="GrupoOpciones11" value="Si" />
                      <
span class="Estilo10">Si</span></label>
                      <
label>
                      <
input type="radio" name="GrupoOpciones11" value="No" />
                      <
span class="Estilo10">No</span></label>
                      <
br />
                    </
p>
                </
div></td>
              </
tr>
              <
tr>
                <
td height="34" colspan="2"><div align="center">
                  <
input type="submit" name="Submit" value="Enviar" />
                </
div></td>
              </
tr>
        </
table>
            <
div align="left">
              <
p>&nbsp;</p>
      </
div>
                  
            <
input type="hidden" name="MM_insert" value="form1">
      </
form>
    </
th>
  </
tr>
</
table>
<
script type="text/javascript">
<!--
var 
sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
var 
sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
var 
sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3""email");
var 
spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {isRequired:falseinvalidValue:"-1"});
var 
sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4");
//-->
//CODIGO DE _cronos2
if(document.forms[0].elements['nombre'].value == null){
 
document.forms[0].elements['nombre'].focus();
 return 
false;
}
</script>

</body>
</html> 


Este es el codigo

El codigo que me pasaste lo ubique ahi abajo....iria ahi?

gracias