# Button to display a whole answer instead of the 5 first letters

**URL:** <https://community.glideapps.com/t/button-to-display-a-whole-answer-instead-of-the-5-first-letters/67355>\
**Category:** Ask for Help\
**Created:** [October 28, 2023, 9:54am UTC](https://community.glideapps.com/t/button-to-display-a-whole-answer-instead-of-the-5-first-letters/67355 "2023-10-28T09:54:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theo](https://avatars.discourse-cdn.com/v4/letter/t/a87d85/32.png) [@Theo](https://community.glideapps.com/u/Theo)\
**Post date:** [October 28, 2023, 9:54am UTC](https://community.glideapps.com/t/button-to-display-a-whole-answer-instead-of-the-5-first-letters/67355/1 "2023-10-28T09:54:10Z")

</div>

Hi

I need some help, regarding a feature. I don’t even know if it’s possible.  
I have a page which display answers. As you can see on the screenshot, each answer has 5 fields :

- date
- reliability
- name of the spot
- how to go to the spot
- comments

 ![Capture d’écran 2023-10-28 à 11.37.57](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/0/20f940476fef78fecf23e30c1e62812815782b94.jpeg)

I would like to display only the 5 first letters of each fields, and if the user decides to click on “Display the information” it shows the whole answer for each field.  
Do you know a way to do this ? Or something close ?

Thank you very much!  
Théo

---

<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:** [October 28, 2023, 9:59am UTC](https://community.glideapps.com/t/button-to-display-a-whole-answer-instead-of-the-5-first-letters/67355/2 "2023-10-28T09:59:58Z")

</div>

- Use the Truncate Text column to create 5 shortened versions of your data fields
- Use those columns in your Fields component
- Add a second Fields component with the longer values
- Configure your button so that it toggles the value of a User Specific Boolean column:  
– If it’s checked, clear it  
– Else if it’s not checked, set it to true
- Now configure opposite visibility conditions on your two Fields components:  
– One should be visible when the User Specific Column is checked  
– The other should be visible when it is not checked

---

<div class="post-metadata">

**Author:** ![Theo](https://avatars.discourse-cdn.com/v4/letter/t/a87d85/32.png) [@Theo](https://community.glideapps.com/u/Theo)\
**Post date:** [November 1, 2023, 6:07pm UTC](https://community.glideapps.com/t/button-to-display-a-whole-answer-instead-of-the-5-first-letters/67355/3 "2023-11-01T18:07:15Z")

</div>

> [@Darren\_Murphy](#):
>
> Configure your button so that it toggles the value of a User Specific Boolean column:

thank you very very much Darren 🙂

---

<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:** [November 8, 2023, 6:07pm UTC](https://community.glideapps.com/t/button-to-display-a-whole-answer-instead-of-the-5-first-letters/67355/4 "2023-11-08T18:07:35Z")

</div>

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