change user role by accepting or reject user submission

By: Kosay Alassaf | Asked: 12/13/2023
ForumsCategory: How-tochange user role by accepting or reject user submission
Kosay Alassaf asked 4 months ago
Dears I have a user who could submit an entry, what I want is to allow the admin to accept or reject this entry and based on that I want to give him more access by assign a new role for him    how to do that in formidable  thanks
1 Answers
Rob LeVineRob LeVine answered 4 months ago
When the user submits, you use frm_after_create_entry to set the initial role. When the admin updates, you use frm_after_update_entry to change the user role depending on the status set by the admin.
Kosay Alassaf replied 4 months ago

Many thanks, should I write a function? or I can do it directly from formidable interface ?

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right