• Resolved anthonyflibustiers

    (@anthonyflibustiers)


    Hello !

    I hope you are doing great today,

    I’m looking for a way to change wordpress users role at a form submission.

    Is there a way I can do it ?

    Thanks forward.

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @anthonyflibustiers,
    Allow me to answer this question as I have done it before.

    I personally searched for a change in user role on form submission inside Forminator and didn’t seem to find it except for user registration, then it can only assign a user role to a newly registered user, it can be conditional as well.

    I found a solution using Uncanny Automator Plugin (https://www.ads-software.com/plugins/uncanny-automator/) and worked very fine with me. It triggers Forminator forms submission and can create different actions as you like. Make sure that it’s for logged in users.

    I hope it works with you.

    Thanks!

    Thread Starter anthonyflibustiers

    (@anthonyflibustiers)

    Hello !

    Thanks for your answer, it’s a useful tool, but won’t work for me, at least with the free feature.

    I was looking to change a particular user role (selected by the {email-1} form field) but it seems it will only work for the logged user only.

    So I’ve decided to do it in a different way.

    Thanks anyway!`

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @anthonyflibustiers

    I hope you’re well today!

    Forminator doesn’t include any “user management” feature so it’s not possible to “change” user role this way out-of-the-box. The only thing that can be done is to select which user role (as mentioned – it can also be conditional) should be assigned to a newly registered user when using registration forms.

    But for regular forms in order to change user role of existing user you would indeed need either some 3rd-party solution (such as suggested one) or you’d need to get a custom solution coded.

    Kind regards,
    Adam

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @anthonyflibustiers ,

    We haven’t heard from you for some time now, so it looks like you don’t have more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change user role on submission’ is closed to new replies.