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

140
Vistas
checkbox is checked when text field is empty JS in FormAssembly

I work with FormAssembly and I have a form where I need to check if user is exist. So, the logic is: if text field with error is empty => checkbox should be checked. I have tried this code:

// tfa_808 is error message field
//tfa_817 is checkbox
function exist(){
  if (document.getElementById("tfa_808") == "") {
  document.getElementById("tfa_817").checked = true;
  }
}

Any help would be appreciated! Thank you!

Form

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