# Text match plugin

**URL:** <https://community.glideapps.com/t/text-match-plugin/76848>\
**Category:** Ask for Help\
**Created:** [October 5, 2024, 6:19am UTC](https://community.glideapps.com/t/text-match-plugin/76848 "2024-10-05T06:19:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![barneylodge](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/barneylodge/32/70676_2.png) [@barneylodge](https://community.glideapps.com/u/barneylodge)\
**Post date:** [October 5, 2024, 6:19am UTC](https://community.glideapps.com/t/text-match-plugin/76848/1 "2024-10-05T06:19:01Z")

</div>

I am using the text match plugin to validate a phone number to ensure that it starts with a zero (True).

How do I prevent submission of the form if the result is False?

---

<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:** [October 5, 2024, 6:46am UTC](https://community.glideapps.com/t/text-match-plugin/76848/2 "2024-10-05T06:46:58Z")

</div>

If you use the native form, you can only create a message/hint. However, to prevent the form from being submitted, you will need custom CSS.

> [@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 visibility conditional and the class “prevent-submit” to these hint components. Add the following CSS code: /\*Container Form\*/ #page-root:has(.prevent-submi…

Another alternative is to use a custom form and enforce conditions through a custom action on your submit button.

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

---

<div class="post-metadata">

**Author:** ![barneylodge](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/barneylodge/32/70676_2.png) [@barneylodge](https://community.glideapps.com/u/barneylodge)\
**Post date:** [October 5, 2024, 7:30am UTC](https://community.glideapps.com/t/text-match-plugin/76848/3 "2024-10-05T07:30:20Z")

</div>

That is brilliant. I think hint will be OK for now

---

<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 5, 2024, 8:59am UTC](https://community.glideapps.com/t/text-match-plugin/76848/4 "2024-10-05T08:59:51Z")

</div>

[https://help.twilio.com/articles/360050891214](https://help.twilio.com/articles/360050891214)

An alternative for you is using Twilio’s Lookup API.
