I want to create a form that starts with a specific number of input fields, where a user can press a + button to add new input fields if they need to specify more variables.
khairul
October 19, 2022, 8:33pm
#2
Hi I achieved this and you can visit this thread for further information.
A user can fill a line of field, however, he can also add another line of field to fill, and so on. How can I do that?
My use case is, for example you want to add products to invoice along with their quantity and price. I want users to be able to fill a line of products, quantity and price field, then he is able to add another line of field of products, quantity and price to fill.
Also similar use cases like airtable or xano, a user can add a line of fields.
Right now I can bind the fields to…
Basically you need to create an array, and each time the user add an input you add the newly added input into the array
1 Like
Awesome, thank you for this.