# Validation in Edit form

**URL:** <https://community.glideapps.com/t/validation-in-edit-form/69051>\
**Category:** Feature Requests\
**Created:** [December 27, 2023, 5:47pm UTC](https://community.glideapps.com/t/validation-in-edit-form/69051 "2023-12-27T17:47:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [December 27, 2023, 5:47pm UTC](https://community.glideapps.com/t/validation-in-edit-form/69051/1 "2023-12-27T17:47:08Z")

</div>

I want to verify whether the “Edit Form” is still similar to the classic one, where specific validations controlled in the table are not functioning, especially in the submit button conditioning settings. The attempts I’ve made only manage to trigger warnings but do not prevent it on the submit button.

---

<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:** [December 28, 2023, 12:08am UTC](https://community.glideapps.com/t/validation-in-edit-form/69051/2 "2023-12-28T00:08:17Z")

</div>

> [@Himaladin](#):
>
> where specific validations controlled in the table are not functioning

What specific validations are you mentioning here? The submit button will be available when all required fields on the screen are filled.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [December 28, 2023, 12:14am UTC](https://community.glideapps.com/t/validation-in-edit-form/69051/3 "2023-12-28T00:14:29Z")

</div>

Hi @ThinhDinh,  
The validation I mean is something that is not built-in to the entry element, such as the regex validation example

---

<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:** [December 28, 2023, 12:19am UTC](https://community.glideapps.com/t/validation-in-edit-form/69051/4 "2023-12-28T00:19:18Z")

</div>

In any case, you would not be able to disable the submit button in a native form screen/edit screen for the new Glide Apps. I’m not sure what method you used in Classic, I guess it’s CSS that disables the submit button with visibility conditions, but it’s not available here.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [December 28, 2023, 12:28am UTC](https://community.glideapps.com/t/validation-in-edit-form/69051/5 "2023-12-28T00:28:03Z")

</div>

Yes, in classic applications this can still be controlled with conditionable CSS. On the other hand, if you use a custom form it will drain the number of updates.

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [December 28, 2023, 12:30am UTC](https://community.glideapps.com/t/validation-in-edit-form/69051/6 "2023-12-28T00:30:05Z")

</div>

Yep… you will have to build a custom form… unfortunately, new Apps are still way behind Classic Apps, so we have to struggle to make Pages look good and function the way we want. ;-(

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [January 23, 2024, 1:09am UTC](https://community.glideapps.com/t/validation-in-edit-form/69051/7 "2024-01-23T01:09:13Z")

</div>

I’ve found this way. I am still hoping for a conditional “on submit” approach.

> [@Exploring the Enhanced Capabilities of Glide's Native Form](https://community.glideapps.com/t/exploring-the-enhanced-capabilities-of-glides-native-form/69876):
>
> I want to share about the additional capabilities that we can achieve with Glide’s native form. What I have tested with the help of CSS is that native forms can also be applied for validation. Create your validation in the table columns and present it through messages via the “hint” component. Add the class “prevent-submit” to these hint components. Add the following CSS code: /\*Container Form\*/ #page-root:has(.prevent-submit) [aria-label="Submit"] { poin…

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [January 30, 2024, 1:09am UTC](https://community.glideapps.com/t/validation-in-edit-form/69051/8 "2024-01-30T01:09:19Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
