# Using Comma inside a sentence of an alternative of a form question make it uncheckable

**URL:** <https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564>\
**Category:** Report a Bug\
**Created:** [July 29, 2022, 11:03pm UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564 "2022-07-29T23:03:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![gustavoamarelo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gustavoamarelo/32/45511_2.png) [@gustavoamarelo](https://community.glideapps.com/u/gustavoamarelo)\
**Post date:** [July 29, 2022, 11:03pm UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/1 "2022-07-29T23:03:24Z")

</div>

**Describe the bug:**  
_When you use a comma inside the sentences of the alternatives in a form, you can’t check it_

**Expected Behaviour:**  
_It should behave the same way as the other alternatives as the others without commas_

---

<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:** [July 30, 2022, 1:15am UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/2 "2022-07-30T01:15:15Z")

</div>

If you mean a choice component with multiple choices allowed, you must make sure you don’t have any trailing spaces.

---

<div class="post-metadata">

**Author:** ![gustavoamarelo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gustavoamarelo/32/45511_2.png) [@gustavoamarelo](https://community.glideapps.com/u/gustavoamarelo)\
**Post date:** [July 30, 2022, 7:09pm UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/3 "2022-07-30T19:09:14Z")

</div>

That’s correct… Thank you very much for your attention  
I have read your reply to other post, about the trailing spaces, but that’s not exactely my problem. It seems to be alike, but in my case I don’t have them (trailing spaces)… this bug happens when a choice in which a comma is inside the statement is selected. This choice, when clicked, should be able to be selected, but the check sign doesn’t appear.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 30, 2022, 7:23pm UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/4 "2022-07-30T19:23:29Z")

</div>

I would suggest using a Row ID or some other value that does not contain a comma. You can set the choice component so it displays the sentences, but the value is the row id.

---

<div class="post-metadata">

**Author:** ![gustavoamarelo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gustavoamarelo/32/45511_2.png) [@gustavoamarelo](https://community.glideapps.com/u/gustavoamarelo)\
**Post date:** [July 30, 2022, 9:34pm UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/5 "2022-07-30T21:34:09Z")

</div>

That appear to be the solution, for now, but as the form was made to be a questionnaire to investors, it would be better if the sentences were written in a formal way, as a text, with the commas, and not changing them to slashes and dots. Anyway… I removed the commas - and it worked - but the bug is still there.

The initial problem, that was figuring out why the form wasn’t working as it should, is what really took me some time (noob). 😅

Thank you very much for your contribution.

---

<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:** [July 31, 2022, 12:15am UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/6 "2022-07-31T00:15:43Z")

</div>

I would not consider it a bug, but a feature request. Glide uses commas to separate your multiple choices, so you can’t really put commas inside your own choices, because it will put off the data written to the backend. The solution here, for Glide, is allowing us to use our own delimiter.

---

<div class="post-metadata">

**Author:** ![gustavoamarelo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gustavoamarelo/32/45511_2.png) [@gustavoamarelo](https://community.glideapps.com/u/gustavoamarelo)\
**Post date:** [July 31, 2022, 12:20am UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/7 "2022-07-31T00:20:08Z")

</div>

You are absolutely right. I forgot about that. Thanks for your time!!!

---

<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:** [July 31, 2022, 12:54am UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/8 "2022-07-31T00:54:56Z")

</div>

> [@gustavoamarelo](#):
>
> it would be better if the sentences were written in a formal way, as a text, with the commas, and not changing them to slashes and dots. Anyway… I removed the commas - and it worked - but the bug is still there.

If you follow Jeff’s suggestion - which would probably be considered best practice anyway - you can have as many commas as you want.

> [@Jeff\_Hager](#):
>
> I would suggest using a Row ID or some other value that does not contain a comma. You can set the choice component so it displays the sentences, but the value is the row id.

---

<div class="post-metadata">

**Author:** ![gustavoamarelo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gustavoamarelo/32/45511_2.png) [@gustavoamarelo](https://community.glideapps.com/u/gustavoamarelo)\
**Post date:** [July 31, 2022, 7:30pm UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/9 "2022-07-31T19:30:07Z")

</div>

I’m really a beginner, I actually didn’t understand quite well what he meant.  
Would you care to explain in other words?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [August 1, 2022, 12:00am UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/10 "2022-08-01T00:00:08Z")

</div>

> **[Choice Component (Apps)](https://docs.glideapps.com/all/topics/components/app-components/pickers/choice#display-as)**
>
> Pick one value among many

---

<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:** [August 1, 2022, 12:09am UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/11 "2022-08-01T00:09:47Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/3/e33fa6951f603fa7554fd4078aa53adc5b2215bc.jpeg)

It’s the “Display as” thing in the choice component. You can:

- Have a rowID for each of your choices.
- Create a choice component that writes the rowID to the backend (values), but on the front end display them as the original text (Display as).

By doing so, you would be allowed to add whatever character you want to the actual text, since Glide just displays them on the front end, not using them on the backend.

Say you have 3 choices:

| RowID | Actual Text |
| --- | --- |
| ID001 | ABC, DEF |
| ID002 | GHI |
| ID003 | JKL |

Then if you construct the choice component as above, and choose the 1st and 3rd choices for example, on the backend you would see the choice being:

ID001,ID003

On the front end you will see “ABC, DEF” and “JKL” chosen.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [August 2, 2022, 12:10am UTC](https://community.glideapps.com/t/using-comma-inside-a-sentence-of-an-alternative-of-a-form-question-make-it-uncheckable/45564/12 "2022-08-02T00:10:17Z")

</div>

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