Role-based Form Field Missing on Edit

Shannon Halbert
Mon, 03 Jun 2024 16:40:16 +0000
Get Help

Hi!

We have a form with a field that is only visible if the current user’s role is an administrator. This is done by having a hidden field that displays the current user’s roles which is done by allowing the field to be populated dynamically with a parameter. When I edit the entry through the backend, I can see both fields but when I edit it through Gravity View, I cannot see the field that is visible only to admins.

Does anyone know of a way around this? We need to update the field before we can approve the entries and the user submitting the form cannot see the field for privacy reasons.

5 posts - 3 participants