jangari / redcap_requested_and_required_fields

An external module for REDCap that brings functionality for requested fields (and augments support for required fields)
MIT License
0 stars 0 forks source link

Add support for fields marked as required #1

Closed jangari closed 4 months ago

jangari commented 4 months ago

According to Rob's comment, the following ought to work to test if a field is required:

$Proj = new Project($project_id);
$isRequired = $Proj->metadata[$field_name]['field_req'] == '1';