Agrega librerias y temas gráficos de forma local, no cdn,
directorio local lib
Formulario de registro:
- select se hacen con select2, falta validarlos
- validación de nombre, apellido y mail ya funcionando con
jquery-validate
- arregla temas gráficos y de presentación
FALTA:
- validar los select
- validar los radiobutton
- TODA LA PUTA LOGICA DE BACK-END DE NUEVO!!!
9 lines
236 B
JavaScript
9 lines
236 B
JavaScript
require(["jquery", "../../dist/jquery.validate"], function($) {
|
|
|
|
$.validator.setDefaults({
|
|
submitHandler: function() { alert("submitted!"); }
|
|
});
|
|
|
|
// validate the comment form when it is submitted
|
|
$("#commentForm").validate();
|
|
}); |