# Cant reference text box

**URL:** <https://forum.bubble.io/t/cant-reference-text-box/193293>\
**Category:** Need help\
**Created:** [February 23, 2022, 4:53pm UTC](https://forum.bubble.io/t/cant-reference-text-box/193293 "2022-02-23T16:53:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom23](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@tom23](https://forum.bubble.io/u/tom23)\
**Post date:** [February 23, 2022, 4:53pm UTC](https://forum.bubble.io/t/cant-reference-text-box/193293/1 "2022-02-23T16:53:24Z")

</div>

trying to reference 2 text boxes to calculate the difference.

When i am going to enter dynamic data i cannot find the Text elements i want to reference. is there a reason these will not be visible?

thanks

tom

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/6/a/6aa50948d610265b8d4b7e614eccc950f1b976a2.png)

---

<div class="post-metadata">

**Author:** ![mghatiya](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mghatiya/32/162800_2.png) [@mghatiya](https://forum.bubble.io/u/mghatiya)\
**Post date:** [February 23, 2022, 5:04pm UTC](https://forum.bubble.io/t/cant-reference-text-box/193293/2 "2022-02-23T17:04:55Z")

</div>

Text boxes can’t be referenced for the value.

You have these options:

1. Convert them to an input box, disable them and format them to look like normal text. Input elements can be referenced.

2. Use custom states. Assign value to custom state and refer custom state.

3. Create a dummy element like a group or shape etc. Assign its content type to be a number and put the value of that to be the value that you are putting. Then you can use the reference of this element’s number

---

<div class="post-metadata">

**Author:** ![tom23](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@tom23](https://forum.bubble.io/u/tom23)\
**Post date:** [February 23, 2022, 5:10pm UTC](https://forum.bubble.io/t/cant-reference-text-box/193293/3 "2022-02-23T17:10:10Z")

</div>

ok thanks, how do you disable an input?

---

<div class="post-metadata">

**Author:** ![mghatiya](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mghatiya/32/162800_2.png) [@mghatiya](https://forum.bubble.io/u/mghatiya)\
**Post date:** [February 23, 2022, 5:11pm UTC](https://forum.bubble.io/t/cant-reference-text-box/193293/4 "2022-02-23T17:11:22Z")

</div>

![Screenshot 2022-02-23 at 10.40.55 PM](https://us1.discourse-cdn.com/bubble/original/3X/7/5/759325409a72da147c6f304f1c4c0ec2260de590.png)

---

<div class="post-metadata">

**Author:** ![tom23](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@tom23](https://forum.bubble.io/u/tom23)\
**Post date:** [February 23, 2022, 5:21pm UTC](https://forum.bubble.io/t/cant-reference-text-box/193293/5 "2022-02-23T17:21:26Z")

</div>

Thanks, but i could use a text field if i was referencing figures already in the database right?

---

<div class="post-metadata">

**Author:** ![mghatiya](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mghatiya/32/162800_2.png) [@mghatiya](https://forum.bubble.io/u/mghatiya)\
**Post date:** [February 23, 2022, 5:41pm UTC](https://forum.bubble.io/t/cant-reference-text-box/193293/6 "2022-02-23T17:41:04Z")

</div>

Yes of course. You need this kind of thing that I told only when the value you are putting in that text element was a complex one and you don’t want to keep repeating that complex expression again.

You can’t do refer and do mathematical operations on text elements, basically. You can always do on DB fields in a text field.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 4, 2022, 4:54pm UTC](https://forum.bubble.io/t/cant-reference-text-box/193293/7 "2022-05-04T16:54:08Z")

</div>

Closed on May 4, 2022, 4:54pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
