Ver Mensaje Individual
  #4 (permalink)  
Antiguo 25/11/2015, 12:02
Micoelus
 
Fecha de Ingreso: noviembre-2015
Mensajes: 6
Antigüedad: 8 años, 5 meses
Puntos: 1
Respuesta: Validación de Radio

si estas usando la opción required no hay modo de que falle xd...
a menos que no le estes poniendo la linea de HTML 5
recuerda que tiene que quedar asi
Código HTML:
Ver original
  1. <!DOCTYPE html> <!--esta linea es necesaria para que tome parametros de html5 -->
  2.     <title></title>
  3. </head>

a mi me funciona bien te copio como lo tengo yo
Código HTML:
Ver original
  1. <!DOCTYPE html>
  2.     <title></title>
  3. </head>
  4.  
  5.     <form action="ok.html" method="post" id="1" name="uno" onsubmit="return validacion()">
  6.     <table>
  7.     <tr>
  8.        
  9.     <td>Pregunta 1: </td>
  10.     <td><input type="radio" name="group1" value="40" required> 5 minutos</td>
  11.     <td><input type="radio" name="group1" value="56"> 6 - 8  minutos</td>
  12.     <td><input type="radio" name="group1" value="40"> 9 - 11 minutos</td>
  13.     <td><input type="radio" name="group1" value="40"> 12 - 15 minutos</td>
  14.     </tr>
  15.     <tr>                 
  16.     <td>Pregunta 2: </td>
  17.     <td><input type="radio" name="group2" value="12" required> Si</td>
  18.     <td><input type="radio" name="group2" value="32"> No</td>
  19.     </tr>
  20.     <tr>
  21.  
  22.     <td>Pregunta 3: </td>
  23.     <td><input type="radio" name="group3" value="500" required> Alto</td>
  24.     <td><input type="radio" name="group3" value="100"> Bajo</td>
  25.     </tr>
  26.     <input type="submit">
  27.     </table>
  28.  
  29.     </form>
  30.  
  31. </body>
  32. </html>