Please follow my previous submitted detailed instructions.
It works perfectly if you follow that setup.
I outline below again the exact steps.
Please see that you need to adjust the URL of your Site and page names/slugs.
My View Queries any user, the Form /CRED) edits a given Role.
1. Create a View to create your Dropdown menu where you select the user to edit:
- Query users by role any, or any role you want
- Loop output like this (or any other valid HTML)
<!-- wpv-loop-start -->
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Users
<span class="caret"></span></button>
<ul class="dropdown-menu">
<wpv-loop>
<li><a href="<em><u>hidden link</u></em> field='ID']">Whatever you want here</a></li>
</wpv-loop>
</ul>
</div>
<!-- wpv-loop-end -->
2. Insert this View on any Page you want.
Please note the specific URL's in
<a href="<em><u>hidden link</u></em> field='ID']">Whatever you want here</a>
We will use that later.
3. Create a second View, here you query again users, a Query Filter is set to:
Select users with the id determined by the URL parameter "users-filter" and with role "any"
eg. yoursite/page-with-this-view/?users-filter=1
I added a screenshot of this.
The Loop of this View holds the Edit User CRED Form as this:
[cred_user_form form="user edit" post="[wpv-user field='ID']"]
4. Now create a page with the exact slug as coded in the first View (link), and insert to this new page the above second View you created.
<em><u>hidden link</u></em>
5. Now, if you click in a user from the DropDown on the First page, this will lead to this new page, passing the User ID as a URL parameter and display the correct CRED Form.
The final example URL of this Page looks for User with ID one like this:
<em><u>hidden link</u></em>
It will enable you to edit any user you want, even if you are logged in as any other user (you will not edit "yourself")
This works very fine if setup with the above steps also outlined here:
https://toolset.com/forums/topic/cred-edit-user-form-only-allowing-me-to-edit-my-own-profile/#post-364317
§Please let me know if the above solution works for you, I look forward to your reply!
Thank you for your patience.