I have a basic form, kind of like a communications form, where I need to be able to allow a user to select a name from a list of registered users (their assigned coach). That coach's name or user ID number would then be saved along with the form data to the database and then email a copy of the form submission to the coach.
How do I pull in the list of registered users only (no admins or other groups)?
I read through this page and this page but I don't know how to use that info to create it while limiting it to the one group of users. Plus, as I mentioned, I need to load that data into a dropdown menu so the user can only select one of the coach's names and I don't know how to do that either...
Thank you for any help you might be able to provide.
-MaestroC
How do I pull in the list of registered users only (no admins or other groups)?
I read through this page and this page but I don't know how to use that info to create it while limiting it to the one group of users. Plus, as I mentioned, I need to load that data into a dropdown menu so the user can only select one of the coach's names and I don't know how to do that either...
Thank you for any help you might be able to provide.
-MaestroC