# How to use generic templates whose fields can be populated by variables

**URL:** <https://forum.bubble.io/t/how-to-use-generic-templates-whose-fields-can-be-populated-by-variables/132654>\
**Category:** App Organization\
**Created:** [January 26, 2021, 5:38am UTC](https://forum.bubble.io/t/how-to-use-generic-templates-whose-fields-can-be-populated-by-variables/132654 "2021-01-26T05:38:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayy](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@jayy](https://forum.bubble.io/u/jayy)\
**Post date:** [January 26, 2021, 5:38am UTC](https://forum.bubble.io/t/how-to-use-generic-templates-whose-fields-can-be-populated-by-variables/132654/1 "2021-01-26T05:38:15Z")

</div>

Hello!

I would like to have different forms/templates with empty fields that would be filled in with user-inputted values. The outputs are the filled-in forms/templates.

While it would be easy to hardcode such a template in Bubble if I have only a couple of templates, how do I make it more scalable with possibly 100s of different templates?

I’m thinking along the lines of specifying the templates using XML or text files with [fields] and these would be parsed by Bubble. But I think it would be a lot of work. I’m hopeful there could be something that’s simpler that I’m missing out.

Any ideas on how I could possibly approach this? Thanks!
