# Action trigger, validation and logic - why are logic elements seem to be at the wrong position (data)?

**URL:** https://community.glideapps.com/t/action-trigger-validation-and-logic-why-are-logic-elements-seem-to-be-at-the-wrong-position-data/50198
**Category:** Ask for Help
**Created:** [September 26, 2022, 10:51am UTC](https://community.glideapps.com/t/action-trigger-validation-and-logic-why-are-logic-elements-seem-to-be-at-the-wrong-position-data/50198 "2022-09-26T10:51:38Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [September 26, 2022, 11:11am UTC](https://community.glideapps.com/t/action-trigger-validation-and-logic-why-are-logic-elements-seem-to-be-at-the-wrong-position-data/50198/2 "2022-09-26T11:11:55Z")

</div>

You’re right, native Glide Forms are somewhat lacking in data validation functions.

There is some basic data validation that can done at the component level. For example, with dates you can restrict the range to before or after the current date, you can set a range on number entry, and you can set a character limit on text entry.

For anything beyond that, you really need to use a [Custom Form](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014).

Custom Forms are a bit more work, but they give you much more flexibility, especially when it comes to data validation. The big difference is that data inputs are available in the data editor immediately, so you can use them to perform calculations and relate to existing data, and provide immediate feedback to the user - before the form is submitted.

---

_[View the full topic](https://community.glideapps.com/t/action-trigger-validation-and-logic-why-are-logic-elements-seem-to-be-at-the-wrong-position-data/50198)._
