diff --git a/components/responsable/CuestionarioResponsable2.vue b/components/responsable/CuestionarioResponsable2.vue index 8d85436..07148af 100644 --- a/components/responsable/CuestionarioResponsable2.vue +++ b/components/responsable/CuestionarioResponsable2.vue @@ -786,6 +786,14 @@ }, methods: { submitForm() { + + + if (!this.validateResponses()) { + +return; // Detiene el envío si la validación falla +} + + console.log('Respuestas enviadas:', this.respuestas) //alert('Formulario enviado. Gracias por tu participación.')