# Edit Screen is not enforcing the Required Field

**URL:** <https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474>\
**Category:** Ask for Help\
**Created:** [June 29, 2024, 2:47pm UTC](https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474 "2024-06-29T14:47:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![CDan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cdan/32/44535_2.png) [@CDan](https://community.glideapps.com/u/CDan)\
**Post date:** [June 29, 2024, 2:47pm UTC](https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474/1 "2024-06-29T14:47:06Z")

</div>

Hello,

I am unsure what I am doing wrong, but can anyone assist me in making the submit button greyed out when users have not filled out the required fields?

Users have not filled in the required field from the image below, but the button is not greyed out. This means that users can submit the form without the required field. I mapped the fields to specific columns in the user profile.

 ![Screenshot 2024-06-29 152918](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/e/9e4367f78ef662fbbb452b6b37943bfb748d9c4b.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [June 29, 2024, 3:03pm UTC](https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474/2 "2024-06-29T15:03:32Z")

</div>

Why are you mapping to the signed in user’s profile row is the goal is to add a new row?

---

<div class="post-metadata">

**Author:** ![CDan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cdan/32/44535_2.png) [@CDan](https://community.glideapps.com/u/CDan)\
**Post date:** [June 29, 2024, 3:30pm UTC](https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474/3 "2024-06-29T15:30:30Z")

</div>

@Jeff_Hager .

The goal is to add a new row, but I decided to create a placeholder under the user profile so that I can do some calculations within the form. Then, after submitting, I did “add row” to the table I initially planned.

I noticed I couldn’t perform the calculations with ‘form’ which was why I decided to use ‘Edit screen’. So I read somewhere in the community that I should first create a specific column as a placeholder. I created a specific column on another table, but it was not visible in the editor, so I couldn’t map the fields to it. So, I decided to map it to the specific column in a User profile.

Is there a better way to do this or is there an solution somewhere in the community because I have searched?

Thank you,

---

<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:** [June 30, 2024, 12:37am UTC](https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474/4 "2024-06-30T00:37:56Z")

</div>

> [@CDan](#):
>
> The goal is to add a new row, but I decided to create a placeholder under the user profile so that I can do some calculations within the form.

What specific calculations you need that can be done in the User Profiles table but not in your supposed destination table? It sounds to me you should reconfigure the fields and/or use a custom form.

---

<div class="post-metadata">

**Author:** ![CDan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cdan/32/44535_2.png) [@CDan](https://community.glideapps.com/u/CDan)\
**Post date:** [June 30, 2024, 6:41am UTC](https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474/5 "2024-06-30T06:41:37Z")

</div>

Thank you @ThinhDinh

I was trying to do the simple calculations in the image below, but the usual form is not showing the amount.

 ![Screenshot 2024-06-30 073903](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/c/dc0ffda0db3757ec5695d528d771a5696ed77b66.png)

I have heard and read of custom form, but I don’t know how to go about it. Is there a particular component that can help create the custom form?

Thank you

---

<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:** [June 30, 2024, 9:43am UTC](https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474/6 "2024-06-30T09:43:52Z")

</div>

Does your plan allow the use of CSS?

---

<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:** [June 30, 2024, 10:05am UTC](https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474/7 "2024-06-30T10:05:32Z")

</div>

> [@How do I create a custom form?](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014):
>
> I’m just dropping this here so I have something to refer people to when they ask. This is a simple concept app (copyable), that demonstrates the following techniques: Building custom forms for adding and editing list items (as an alternative to the native forms provided by Glide) Preventing duplicate new entries using [User Specific Columns](https://docs.glideapps.com/all/reference/data-editor/user-specific-columns) and [Relations](https://docs.glideapps.com/all/reference/data-editor/computed-columns/relation-column) Enforcing mandatory input items The use of visibility conditions and user specific booleans to control user flow There is nothing particular…

Here’s a link for you to work with custom forms.

An alternative for you is preventing the submission with CSS, but we don’t know if your plan allows CSS or not so please answer @Himaladin 's question.

---

<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:** [June 30, 2024, 2:00pm UTC](https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474/8 "2024-06-30T14:00:52Z")

</div>

I think I came up with an even more perfect idea from the previous method. @ThinhDinh 😉

---

<div class="post-metadata">

**Author:** ![CDan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cdan/32/44535_2.png) [@CDan](https://community.glideapps.com/u/CDan)\
**Post date:** [June 30, 2024, 8:35pm UTC](https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474/9 "2024-06-30T20:35:24Z")

</div>

Thank you Himaladin. No. It does not

---

<div class="post-metadata">

**Author:** ![CDan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cdan/32/44535_2.png) [@CDan](https://community.glideapps.com/u/CDan)\
**Post date:** [June 30, 2024, 8:38pm UTC](https://community.glideapps.com/t/edit-screen-is-not-enforcing-the-required-field/74474/10 "2024-06-30T20:38:07Z")

</div>

Thank you @ThinhDinh

I will go over the tutorial you shared. I have gone through it before, but I didn’t quite understand it. I will copy the app and study how it was done. Thanks so much
