Can an edit cred form change the user role ?
If i have a user form that creates a user role of "subscriber" then an edit user form that that will change the role to "premium subscriber"
From the article; Part 8 – Building forms for editing user profile (which needs upadate since screen is different in current version)
"3. In the third dropdown, you can determine what kind of users you can update through this form.In Part 6, we decided that our site’s users will be registered with the Subscriber role; thus, we will check Subscriber.If you, as the site admin, would also like to edit your own profile from the front end, check Administrator as well."
From that description it would appear it is only allowing which roles can edit but it does not change role is that correct?
It is possible to do with api but not ui correct?
Is it also possible using api to update a user role from a post edit/create form?
What I need to accomplish is using cred comerce with a woocom and subscrpition plugin (not woocom to pricey) so once a user purchses product it would update the role of the user in accordance with product purchase.
With CRED User Forms it is not possible to change the role. Implications:
There is no way to automatically upgrade the subscriptions (e.g. from the Premium to the VIP membership).
You cannot approve user signups directly from the front-end (e.g. to change the Subscriber role to a higher one). You need to do this from the WordPress admin.
Yes - it's possible to change the role using CRED API.