# Create a form input when click button

**URL:** <https://community.glideapps.com/t/create-a-form-input-when-click-button/50535>\
**Category:** Ask for Help\
**Created:** [September 30, 2022, 1:05pm UTC](https://community.glideapps.com/t/create-a-form-input-when-click-button/50535 "2022-09-30T13:05:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dery](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dery/32/48582_2.png) [@Dery](https://community.glideapps.com/u/Dery)\
**Post date:** [September 30, 2022, 1:05pm UTC](https://community.glideapps.com/t/create-a-form-input-when-click-button/50535/1 "2022-09-30T13:05:45Z")

</div>

Hi. As many in this forum, I’m also new working with Glide pages. I’m creating a site where people can request some specific services, which depending on the service this has an specific form inquiring information. One of this information is a series of codes that the user has to input so then this can go into a row as an array of codes.

- Is there a way that a button can insert an input field every time it is click?
- Is there a configuration to use the same row for multiple input that can remain separate?

I appreciate any feedback. Thanks!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [October 1, 2022, 12:32am UTC](https://community.glideapps.com/t/create-a-form-input-when-click-button/50535/2 "2022-10-01T00:32:36Z")

</div>

> [@Dery](#):
>
> One of this information is a series of codes that the user has to input so then this can go into a row as an array of codes.

How are you letting them input this? Is there a reason you don’t want it to be a comma-delimited list of codes, which can then be turned into an array using the Split Text column?

> [@Dery](#):
>
> a button can insert an input field every time it is click?

Can you go more into how you expect this to work?

---

<div class="post-metadata">

**Author:** ![Dery](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dery/32/48582_2.png) [@Dery](https://community.glideapps.com/u/Dery)\
**Post date:** [October 1, 2022, 6:12am UTC](https://community.glideapps.com/t/create-a-form-input-when-click-button/50535/3 "2022-10-01T06:12:50Z")

</div>

> [@ThinhDinh](#):
>
> How are you letting them input this? Is there a reason you don’t want it to be a comma-delimited list of codes, which can then be turned into an array using the Split Text column?

These inputs are intended to be a collection of different codes that **must** be carefully inserted as these will determine the type of service provided and work to be done. For this the margin of error has to be null from the client side.

> [@ThinhDinh](#):
>
> Can you go more into how you expect this to work?

This button should insert an input field every time it’s clicked, this is a long list of codes that the client should pick according to theirs need. Therefor I can’t pre-insert all this fields as the need will vary from case to case.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [October 1, 2022, 10:34am UTC](https://community.glideapps.com/t/create-a-form-input-when-click-button/50535/4 "2022-10-01T10:34:32Z")

</div>

So those are pre-determined codes right? What about a choice component that allows multiple codes to be selected?

---

<div class="post-metadata">

**Author:** ![Dery](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dery/32/48582_2.png) [@Dery](https://community.glideapps.com/u/Dery)\
**Post date:** [October 3, 2022, 6:54am UTC](https://community.glideapps.com/t/create-a-form-input-when-click-button/50535/5 "2022-10-03T06:54:33Z")

</div>

This could be a good solution. I appreciate the feedbacks!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [October 4, 2022, 6:55am UTC](https://community.glideapps.com/t/create-a-form-input-when-click-button/50535/6 "2022-10-04T06:55:09Z")

</div>

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