The Challenge
Is it possible to make fields required for specific user roles using the frm_validate_field_entry hook?
Formidable Slack Community
Snippet
Yes, it's possible by using the WordPress wp_get_current_user() function. Here's the snippet that shows how.
Leave a Reply