Tell us what you are trying to do?
So my client is educating "normal" people and coaches (not normal :-). After every day they need to upload a doc about that day. This has to be connected to their user. The trainer needs to be able to see these doc's under the users.
I looked to create a repeatable field in the user form but this is not there. How can I add the doc's to the users account so that the teacher can look them up.
This sounds fairly simple, you may get away without relying on relationships.
If you create a CPT for the updates, and a front-end form where the "normal" users can publish an update each day, then they will be the author of those posts.
Are your "not normal" users viewing these updates in the front end or the back end?
If in the back end there are plugins that add filtering to the pages which list posts where you could include an author filter.
If in the back end, in principle you could create a View to display updates, the problem being that Views don't support front end filter controls for post authors. I can give you a workaround for that if you need it, but let me know.
Whether you are doing it from the front end or the back end the best solution seems to me to be to create an "Updates" post type, and add custom fields for the date (unless the date would just be the published date, and you can use that) and a file upload field.
The updates are connected to the users by virtue of them being post authors.
The topic ‘[Closed] User form to let clients add multiple doc's after each lesson day’ is closed to new replies.