[This post has been edited by me so the question is clearer.]
I am trying to develop an application using a form. However, I want several inputs into one record.
For example, imagine I want to make a list of cats per person and I want the record to obtain data on their personal details and all their cats. It is important for me to have a record for each person and have multiple cats per record.
What I would like to do is as follows, users get to fill out two tables. The form and input for a collection:
| Name | Gender | Nationality | Cats | Colors |
| [fill in] | [choose] | [choose] | [retrieve string from collection 'Cat Name' column] | [retrieve string from collection 'Cat Color' column] |
| Cat Name | Cat Color | Cat Age, etc. |
| [fill in] | [fill in] | [fill in] |
The second table will allow you to add cats every click, which will immediately be displayed in a gallery for users to keep an overview. Now what I would like to know is how I can have the form input for 'Cats' retrieve the entire column of data from the 'Cat Name' collection.
| Name | Gender | Nationality | Cats | Colors |
| Bob | Male | USA | Figo; Fluffy; Bob Jr | White; Red; Black |
| Linda | Female | Canada | Bella; Noodle | White; Grey |
I want to use a collection to create a list of the cats and their colors and the form to retrieve that data, so it all gets collected into one record.
Does anyone know how to approach this? Or do you have a better suggestion?