Botón de submit desde fuera del formulario HTML

Muchas veces me he topado con el escenario en que tengo que implementar un formulario en una modal de bootstrap, la cual se compone de tres secciones (header, body y footer) y donde siempre acabo peleándome con la estructura HTML para cuadrar el formulario en el body pero tener el botón de submit en el footer. 

Ejemplo:

En el siguiente bloque de código planteo una solución utilizando el atributo form en el input de submit para asociarlo al formulario aunque dicho input esté fuera del ámbito del formulario.    

Comentarios

  1. We’ve lined a couple of of} of one of the best sports betting sites on our list, including Bovada and MyBookie. Bovada is our #1 online sports betting site overall, thanks to an 1xbet excellent selection of props and thousands of betting markets. The greatest online gambling sites are absolutely loaded with great games and betting options they usually provide the most beneficiant bonuses.

    ResponderEliminar

Publicar un comentario