# Fill input on button click

**URL:** <https://forum.bubble.io/t/fill-input-on-button-click/175828>\
**Category:** Need help\
**Created:** [October 28, 2021, 10:55am UTC](https://forum.bubble.io/t/fill-input-on-button-click/175828 "2021-10-28T10:55:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maheshkasindi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/maheshkasindi/32/166723_2.png) [@maheshkasindi](https://forum.bubble.io/u/maheshkasindi)\
**Post date:** [October 28, 2021, 10:55am UTC](https://forum.bubble.io/t/fill-input-on-button-click/175828/1 "2021-10-28T10:55:21Z")

</div>

Hey everyone!  
I’m looking for help on filling input on button click. I’ve tried using custom states, but they’re working only if there’s already a value in the input. If the input is empty, custom states are unable to fill it by a button click. Any leads please?

---

<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:** [January 6, 2022, 10:55am UTC](https://forum.bubble.io/t/fill-input-on-button-click/175828/2 "2022-01-06T10:55:27Z")

</div>

Closed on January 6, 2022, 10:55am UTC

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