# 3 columns into one template column problem

**URL:** https://community.glideapps.com/t/3-columns-into-one-template-column-problem/36883
**Category:** Ask for Help
**Created:** [January 9, 2022, 10:56am UTC](https://community.glideapps.com/t/3-columns-into-one-template-column-problem/36883 "2022-01-09T10:56:03Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [January 9, 2022, 10:56am UTC](https://community.glideapps.com/t/3-columns-into-one-template-column-problem/36883/1 "2022-01-09T10:56:03Z")

</div>

Hi

I have 3 column in my user profile,

House number, street name,city

I convert this into a template column as address to show my delivery details.

Suppose my user deletes the city name in user profile,its still taking the orders when the user orders.

But I want its not to allow to order.

Im already throws error if there is no phone number,name ,address.

But how can I if some values in address field should throw error.

---

<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: [January 9, 2022, 11:00am UTC](https://community.glideapps.com/t/3-columns-into-one-template-column-problem/36883/2 "2022-01-09T11:00:41Z")

</div>

Create an if-then-else column:

- If house number is empty, then blank
- If street name is empty, then blank
- If city is empty, then blank
- Else true

Then only allow ordering if that column is true.

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [January 9, 2022, 1:14pm UTC](https://community.glideapps.com/t/3-columns-into-one-template-column-problem/36883/3 "2022-01-09T13:14:37Z")

</div>

Couldn’t understand how can I implement this. please give some detail insight.

---

<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: [January 9, 2022, 2:03pm UTC](https://community.glideapps.com/t/3-columns-into-one-template-column-problem/36883/4 "2022-01-09T14:03:34Z")

</div>

Well, I guess you have a button or something similar that a user would tap to start the ordering process?

You could either hide the button, or show it as disabled if the required conditions are not met.  
To hide it, you just need a visibility condition - where the if-then-else column is not true.  
To disable it, you would need to create a custom action, and then include a conditional statement that checks if the if-then-else column is true. If it isn’t, the button will still be shown, but it will be disabled.

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [January 9, 2022, 2:18pm UTC](https://community.glideapps.com/t/3-columns-into-one-template-column-problem/36883/5 "2022-01-09T14:18:02Z")

</div>

I need to inform the user with a notification,you need an house number like that if there is no house number and similarly for street name and city.

May be like,house number missing in address

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [January 9, 2022, 2:27pm UTC](https://community.glideapps.com/t/3-columns-into-one-template-column-problem/36883/6 "2022-01-09T14:27:07Z")

</div>

Hi Darren

I gave it in the action it is working.no problem.

---

<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: [January 9, 2022, 2:55pm UTC](https://community.glideapps.com/t/3-columns-into-one-template-column-problem/36883/7 "2022-01-09T14:55:48Z")

</div>

Well done 👍
