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

278
Visualizações
Form Validation only work once on one page, will not work on other pages

How to fix the issue where the form, and form validation will only load on one page and only once, and will not work on the other page at all. I want reuse that same form which exist on index.html but I want to place it to product.html, and when I do that, the form validation will not load, even though I just copied the code from index.html. Is that default behaviour of the Form Validation? I am also using the "old" Form Validation since I have to use that, with JQuery and everything.

This is the code I have:

<form id="product-search" name="product-search" data-show-messages="true">
/*...*/
</form>

Now when I load this form on index.html it does work, but if I for example load that same Form Validation twice on index.html it does not work, only the first one that is placed works.

working version

<form id="product-search" name="product-search" data-show-messages="true" novalidate="novalidate" class="fv-form fv-form-bootstrap">
/* ... */
</form>

This happens when everything loads properly

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