Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

275
Vistas
Valor de casilla de verificación no guardado a través de Javscript (MSCRM)

El siguiente JavaScript se activa en un Portal de Microsoft Dynamics (Formulario básico), donde valido que el usuario debe marcar al menos una de las casillas de verificación.

  • Ambas casillas de verificación no están marcadas al cargar el formulario
  • Al enviar el formulario, hay una validación para verificar que al menos uno esté marcado
  • Una vez que se marca cualquiera de las casillas de verificación, no pueden desmarcar ambas casillas de verificación

Problema: la casilla de verificación que está marcada no se guarda cuando se envía el formulario. ¿Me estoy perdiendo una función de guardado adicional?

 $(document).ready(function () { if (typeof (Page_Validators) == 'undefined') return; var stepZeroValidator = document.createElement('span'); stepZeroValidator.style.display = "none"; stepZeroValidator.id = "stepZeroValidator"; stepZeroValidator.errormessage = "<a>Please provide your consent before submitting the application.</a>"; stepZeroValidator.initialvalue = ""; stepZeroValidator.evaluationfunction = function () { if (document.getElementById('ccc_personaldataprotectionactyes').checked == false && document.getElementById('ccc_personaldataprotectionactno').checked == false){ return false; //Apply Validation } else{return true;} } // Add the new validator to the page validators array: Page_Validators.push(stepZeroValidator); $("#ccc_personaldataprotectionactyes").bind('change', function () { if (document.getElementById('ccc_personaldataprotectionactyes').checked = true) { document.getElementById('ccc_personaldataprotectionactno').checked = false; } else if (document.getElementById('ccc_personaldataprotectionactyes').checked = false) { document.getElementById('ccc_personaldataprotectionactno').checked = true; } }); $("#ccc_personaldataprotectionactno").bind('change', function () { if (document.getElementById('ccc_personaldataprotectionactno').checked = true) { document.getElementById('ccc_personaldataprotectionactyes').checked = false; } else if (document.getElementById('ccc_personaldataprotectionactno').checked = false) { document.getElementById('ccc_personaldataprotectionactyes').checked = true; } }); });
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda