# How to validate a custom field not in a form

**URL:** <https://forum.adalo.com/t/how-to-validate-a-custom-field-not-in-a-form/9025>\
**Category:** Get Help\
**Created:** [February 10, 2021, 3:59pm UTC](https://forum.adalo.com/t/how-to-validate-a-custom-field-not-in-a-form/9025 "2021-02-10T15:59:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ilya\_DDD](https://avatars.discourse-cdn.com/v4/letter/i/e56c9b/32.png) [@Ilya\_DDD](https://forum.adalo.com/u/Ilya_DDD)\
**Post date:** [February 10, 2021, 3:59pm UTC](https://forum.adalo.com/t/how-to-validate-a-custom-field-not-in-a-form/9025/1 "2021-02-10T15:59:05Z")

</div>

hi!  
How to validate a custom field not in a form, but in a separate input?

For example, so that it must be filled in and when the button is pressed, if the field is not filled, then a message was shown that the field needs to be filled?

I attach a screen

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [February 10, 2021, 7:13pm UTC](https://forum.adalo.com/t/how-to-validate-a-custom-field-not-in-a-form/9025/2 "2021-02-10T19:13:19Z")

</div>

Hi @Ilya_DDD,

Unfortunately, there is no built-in validation for the input fields. You will need to create everything by yourself:

- have a conditionally visible label with the text “please input value”
- make the action for the button a conditional one - it should happen only when the input field value is not equal to empty.

Yes, it’s a pain - but that’s the only solution for now 🙂  
BTW, if you need two conditions - you can try making the button conditionally invisible.

Best,  
Victor

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [February 20, 2021, 7:13pm UTC](https://forum.adalo.com/t/how-to-validate-a-custom-field-not-in-a-form/9025/3 "2021-02-20T19:13:47Z")

</div>

Closed on February 20, 2021, 7:13pm UTC

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