I have a Formidable form with multiple fields, and I want to control access to these fields based on the user role in the back-end. For example, let's say I have two user roles: Manager and Editor, both of whom have access to the WordPress dashboard. When they navigate to the Formidable Forms section in the WP admin panel, the Manager should be able to view and edit all fields in Form 1. However, the Editor should only be able to see and edit specific fields, with the rest of the fields being hidden from them. How can I achieve this?
Yes! The visibility field works only while creating an entry. but i want this functionality in editing the already submitted enteries.
Personally, I'd never let a non-admin into the WP backend, but if you really want to, I guess you could tailor this example to your needs. https://formidableforms.com/knowledgebase/frm_setup_edit_fields_vars/#kb-set-fields-to-read-only-when-editing
Thank you for your message. But how can I use this to make different fields read-only for the different user roles? For example field 1 is read-only for the Editor but can be edited by the user role of Admin.
You use WP functions to determine the role of the current user. Alternatively you can hire a developer to help you https://formidable-masterminds.com/developers-directory/
Please login or Register to submit your answer