# Label does not change when the variable changes? (Solved)

**URL:** https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079
**Category:** Questions about Thunkable X
**Tags:** webviewer, design, solved, beginner, help
**Created:** [October 10, 2022, 1:31am UTC](https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079 "2022-10-10T01:31:20Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![afnanfozailcw81](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/afnanfozailcw81/32/147438_2.png) [@afnanfozailcw81](https://community.thunkable.com/u/afnanfozailcw81)
#### Post date: [October 10, 2022, 1:31am UTC](https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079/1 "2022-10-10T01:31:20Z")

</div>

Hi, I was trying to create an embedded browser test without the drag-and-drop interfrace, because I’m still not used to the drag-and-drop. I also find it easier without the drag-and-drop. This is how it looks like.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/f/df4e2d7fc1c230376ed649ba077f59e93f124887.png)

I have 2 main variables: homeURL and currURL.  
The homeURL variable stores the URL you entered in the text input. This is used by the home button🏠, and the Buttongo (it goes to url in text input)

The currURL stores the current URL webpage you are on right now. This is if you went to a link in the homeURL. It is used by reload, label and home.

There’s also a label, LabelURL, and it stores the current URL if you went to a link. It’s used to show which URL you’re on right now, not the homeURL. But when I go to another webpage, it gets stuck on the homeURL, but there was never any connection between the homeURL and LabelURL in the blocks.  
Take, for example, [https://www.windows.com](https://www.windows.com). It redirects to the MS website. But look at this video here: [What happened - YouTube](https://www.youtube.com/watch?v=cxeaGLEg3_I). The label does not display the currURL. I have here some code:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/e/0e6d5ef4e42faa9e6bfd67246e71b0b77421a580.png)  
Any help would be greatly appreciated.  
🙂

---

<div class="post-metadata">

### Author: ![afnanfozailcw81](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/afnanfozailcw81/32/147438_2.png) [@afnanfozailcw81](https://community.thunkable.com/u/afnanfozailcw81)
#### Post date: [October 10, 2022, 1:32am UTC](https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079/2 "2022-10-10T01:32:13Z")

</div>

The MS website is [https://www.microsoft.com/en-us/windows/](https://www.microsoft.com/en-us/windows/). I posted this because I can’t put more than 2 links.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [October 10, 2022, 1:45am UTC](https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079/3 "2022-10-10T01:45:09Z")

</div>

That one website doesn’t convert from [https://www.windows.com](https://www.windows.com) to [https://www.microsoft.com/en-us/windows](https://www.microsoft.com/en-us/windows) but if I click around inside of [https://www.windows.com](https://www.windows.com), the url in the label does update. So I’m not sure if that’s helpful but mostly it looks like it’s working.

---

<div class="post-metadata">

### Author: ![afnanfozailcw81](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/afnanfozailcw81/32/147438_2.png) [@afnanfozailcw81](https://community.thunkable.com/u/afnanfozailcw81)
#### Post date: [October 10, 2022, 1:57am UTC](https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079/4 "2022-10-10T01:57:21Z")

</div>

The url _in_ the _label_ does not update. It remains the homeURL, the URL I entered in the text input.  
Or, I can say it shows the currURL but the label just does not update.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [October 10, 2022, 2:28am UTC](https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079/5 "2022-10-10T02:28:25Z")

</div>

Can you share a link to the project? Because when I set it up, it did update the label/url.

---

<div class="post-metadata">

### Author: ![afnanfozailcw81](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/afnanfozailcw81/32/147438_2.png) [@afnanfozailcw81](https://community.thunkable.com/u/afnanfozailcw81)
#### Post date: [October 10, 2022, 2:38am UTC](https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079/6 "2022-10-10T02:38:09Z")

</div>

[https://x.thunkable.com/copy/af6e088059324fc53ea938158f1d43e2](https://x.thunkable.com/copy/af6e088059324fc53ea938158f1d43e2)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [October 10, 2022, 3:53am UTC](https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079/7 "2022-10-10T03:53:07Z")

</div>

You’re right, it doesn’t work in your project in a web browser. But it does work in Thunkable Live on a mobile device.

---

<div class="post-metadata">

### Author: ![afnanfozailcw81](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/afnanfozailcw81/32/147438_2.png) [@afnanfozailcw81](https://community.thunkable.com/u/afnanfozailcw81)
#### Post date: [October 10, 2022, 8:07pm UTC](https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079/8 "2022-10-10T20:07:18Z")

</div>

Sorry for the late reply. Let me check for 1 moment.

---

<div class="post-metadata">

### Author: ![afnanfozailcw81](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/afnanfozailcw81/32/147438_2.png) [@afnanfozailcw81](https://community.thunkable.com/u/afnanfozailcw81)
#### Post date: [October 10, 2022, 8:08pm UTC](https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079/9 "2022-10-10T20:08:38Z")

</div>

I realized that it worked. Thanks for the reply.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [January 8, 2023, 8:09pm UTC](https://community.thunkable.com/t/label-does-not-change-when-the-variable-changes-solved/2076079/10 "2023-01-08T20:09:36Z")

</div>

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