Limit the number of entries by user role
add_filter( ‘frm_validate_field_entry’, ‘limit_by_user_role’, 10, 3 ); function limit_by_user_role( $errors, $posted_field, $posted_value ) { $field_id = 136; //change 136 to the ID of the hidden field if ( $posted_field->id == $field_id ) { //get all the entries for that role $entries_for_role…Continue reading