Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

178
Visualizações
HTML form - javascript - automate query - button with validation form

I need to use a public site to get a registration number. This registration number can be chosen but only if it is not yet in use.

Unfortunately, the site does not provide the availability: I need to make a suggestion in a form and I get the return from the site (ok or in use)

I would like to automate the submission of the form to test for all possibilities (from 10.000 to 99.999).

I use this code

document.getElementById("fieldN20993").value ='99999' ; document.getElementsByName(";check")[0].click();

but the button to submit the form is only visible once the autovalidation has checked the validity of the submission (ie this is a number between 10.000 and 99.999)

what is the best way to automate?

  • simulate a tab key to launch the validation and get the submission button
  • or force the validation
  • or manage to bypass the validation
  • or submit without clicking on the button

many thanks in advance Best,

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda