# Auto Populating a webpage with already generated variables

**URL:** <https://community.thunkable.com/t/auto-populating-a-webpage-with-already-generated-variables/678617>\
**Category:** Questions about Thunkable X\
**Created:** [July 14, 2020, 6:55pm UTC](https://community.thunkable.com/t/auto-populating-a-webpage-with-already-generated-variables/678617 "2020-07-14T18:55:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thanos-x](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/thanos-x/32/91404_2.png) [@thanos-x](https://community.thunkable.com/u/thanos-x)\
**Post date:** [July 14, 2020, 6:55pm UTC](https://community.thunkable.com/t/auto-populating-a-webpage-with-already-generated-variables/678617/1 "2020-07-14T18:55:22Z")

</div>

Hey guys,

I am trying to build an app that eventually populates a web page with the variables present. I am stuck at the populating phase.

**The Ask**  
What block combination can I use to populate fields on a website directly from variables I have present so that I am not having to re-type this data. Or maybe through API 🧐

NB: Can’t wait for a response, there has to be a workaround so Ill be staring at my screen all day with my fingers and toes crossed.

---

<div class="post-metadata">

**Author:** ![knownkeep](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@knownkeep](https://community.thunkable.com/u/knownkeep)\
**Post date:** [July 14, 2020, 8:14pm UTC](https://community.thunkable.com/t/auto-populating-a-webpage-with-already-generated-variables/678617/2 "2020-07-14T20:14:17Z")

</div>

To populate fields on a website, the SITE/URL has to “accept” the variables/values in the URL.

For example, if you had an accounting app and wanted to pass an invoice number and invoice total to a web page/form… the form URL would need to accept the invoice number and amount from the URL. It might look something like this:

[https://yoursite.com/pay-invoice?invoicenumber=12345&invoicetotal=1000.00](https://yoursite.com/pay-invoice?invoicenumber=12345&invoicetotal=1000.00)

You site would then populate the page with those amounts.

From Thunkable app, you would simply create a text-based block using Join block/function under the Text blocks.Then in the web viewer block, you would set the URL to this text block you created.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:27pm UTC](https://community.thunkable.com/t/auto-populating-a-webpage-with-already-generated-variables/678617/3 "2024-11-08T12:27:10Z")

</div>


