So I have figured out how to get at the data that will be used for drawing a list but my question is how can I use this data to populate a repeating section with it which will then be bound to a table? Below is my process of what I want to accomplish
1) This list is populated with users (and the return value for the list is the ID which I will use later when a users selects names from the list)
2) When the list is drawn I want to pull out all of the ids and populate a repeating section with them
3) By doing so I can then use the data that is generated when the user selects multiple names in the list to check it against all values in the repeating section (my reasoning for doing this is I am setting up an attendance functionality of my app and want to be able to capture who attended a meeting and who didn't)
4) I have this last part set up to happen when the user submits the dialog but this is only useful if the entire list of IDs is populated within the repeating section so I can just go through the rows and update a user's status
My other thought was to bind a second repeating section to a table that houses the IDs and have this auto populated when the dialog is opened but the problem is I'd need to be able to have to <Top Level> tables because there isn't a linkable field from me 'meetings' table to my 'users' table. so is a second top level table a possibility?
Thanks!
Josh
1) This list is populated with users (and the return value for the list is the ID which I will use later when a users selects names from the list)
2) When the list is drawn I want to pull out all of the ids and populate a repeating section with them
3) By doing so I can then use the data that is generated when the user selects multiple names in the list to check it against all values in the repeating section (my reasoning for doing this is I am setting up an attendance functionality of my app and want to be able to capture who attended a meeting and who didn't)
4) I have this last part set up to happen when the user submits the dialog but this is only useful if the entire list of IDs is populated within the repeating section so I can just go through the rows and update a user's status
My other thought was to bind a second repeating section to a table that houses the IDs and have this auto populated when the dialog is opened but the problem is I'd need to be able to have to <Top Level> tables because there isn't a linkable field from me 'meetings' table to my 'users' table. so is a second top level table a possibility?
Thanks!
Josh
Comment