# Input fields (forms) to be used eg. by LUA

**URL:** https://community.silverbullet.md/t/input-fields-forms-to-be-used-eg-by-lua/1842
**Category:** Ideas
**Created:** [February 23, 2025, 12:52am UTC](https://community.silverbullet.md/t/input-fields-forms-to-be-used-eg-by-lua/1842 "2025-02-23T00:52:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zeus-web](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zeus-web/32/571_2.png) [@zeus-web](https://community.silverbullet.md/u/zeus-web)
#### Post date: [February 23, 2025, 12:52am UTC](https://community.silverbullet.md/t/input-fields-forms-to-be-used-eg-by-lua/1842/1 "2025-02-23T00:52:52Z")

</div>

My idea is to have the possibility to add some kind of input fields to a page and use the input from LUA scritpts.

Just like the buttons we already have.

That would make several usecases possible:

- implement calculators (enter a number and calculate something with it)
- Input forms to enter data for database like silverbullet objects, like `#person`
- enter search queries (e.g. for silverbullet or even other webpages by open a link with the search query)
- and many more 🙂

Of course one could add input fields via HTML-forms by LUA already. However, I have no clue how to access the user input, yet.
