RG fed from input versus database search

Can you feed a repeating group directly from a text input rather than looking up the values from the database?

Eg, I have a text input for “Favorite Months” and a “Submit” button that would push whatever value is in the “Favorite Months” input to the repeating group. I expect this should be a lot faster than having to query the database for a value just entered by that user.

Ideally, this would function with a “Delete” icon on each repeating group cell so that months could be removed as well.

Thanks in advance for the help.

Yes, it’s possible. I would create a state somewhere in the page. That state should be a list of texts. When the user hits enter, add that value to the state.

1 Like

Thanks @rico.trevisan. This worked perfectly, I appreciate the quick assist.