Validação Antes de Enviar Formulário


Minha sugestão é que o formulário nativo do Glide nos dê a possibilidade de validar se determinado parâmetro já foi cadastrado na tabela antes de enviar.


Let’s say you want an email to be unique.

  • Create a relation in that destination table, relating from the email column to itself.

  • In the form, show a hint to tell the user the email they are trying to enter exists already if the relation above is not empty.

  • Use CSS to disable submitting for the form if the relation is not empty. In English CSS, it would look like this.


[data-test="nav-button-Submit"] {
opacity: 0.4;
pointer-events: none;
1 Like