# "Required" option

**URL:** https://community.glideapps.com/t/required-option/33384
**Category:** Ask for Help
**Created:** [October 21, 2021, 7:25am UTC](https://community.glideapps.com/t/required-option/33384 "2021-10-21T07:25:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sharath\_S](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sharath_s/32/28000_2.png) [@Sharath\_S](https://community.glideapps.com/u/Sharath_S)
#### Post date: [October 21, 2021, 7:25am UTC](https://community.glideapps.com/t/required-option/33384/1 "2021-10-21T07:25:05Z")

</div>

How to conditionally include the “Required” feature in a component like how glide provides for the choice component when the components are inside a form ( form has a submit button, without a form, I can have a button at the end and make it conditionally visible only if all the components are selected, but don’t know how to do with “on submit”)

Help!

---

<div class="post-metadata">

### Author: ![biha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/biha/32/84110_2.png) [@biha](https://community.glideapps.com/u/biha)
#### Post date: [October 21, 2021, 7:57am UTC](https://community.glideapps.com/t/required-option/33384/2 "2021-10-21T07:57:30Z")

</div>

Hi,

I’m new here. But as i’m using I think the only way is adding button and button will only appear when the component “is not empty” otherwise just put notification.  
That’s what I thought .Maybe Darren or Thind got better idea. hhehe

---

<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: [October 21, 2021, 10:38am UTC](https://community.glideapps.com/t/required-option/33384/3 "2021-10-21T10:38:06Z")

</div>

Do you mean you’re structuring a custom form? You can conditionally show/hide the submit button based on whether the “required” fields are empty or not.

> [@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 particula…

---

<div class="post-metadata">

### Author: ![Sharath\_S](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sharath_s/32/28000_2.png) [@Sharath\_S](https://community.glideapps.com/u/Sharath_S)
#### Post date: [October 21, 2021, 7:54pm UTC](https://community.glideapps.com/t/required-option/33384/4 "2021-10-21T19:54:15Z")

</div>

Will check it out and get back! Thank you
