# Validação Antes de Enviar Formulário

**URL:** <https://community.glideapps.com/t/validacao-antes-de-enviar-formulario/41513>\
**Category:** Ask for Help\
**Created:** [May 1, 2022, 6:13pm UTC](https://community.glideapps.com/t/validacao-antes-de-enviar-formulario/41513 "2022-05-01T18:13:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leocadio\_Neto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/leocadio_neto/32/32986_2.png) [@Leocadio\_Neto](https://community.glideapps.com/u/Leocadio_Neto)\
**Post date:** [May 1, 2022, 6:13pm UTC](https://community.glideapps.com/t/validacao-antes-de-enviar-formulario/41513/1 "2022-05-01T18:13:38Z")

</div>

Olá,

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.

Att.,

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 2, 2022, 12:06am UTC](https://community.glideapps.com/t/validacao-antes-de-enviar-formulario/41513/2 "2022-05-02T00:06:53Z")

</div>

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.

```auto
<pre><span><style>

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

```
