diff --git a/app/templates/element/form/nameDiv.php b/app/templates/element/form/nameDiv.php index c05ce6b2f..9ae815009 100644 --- a/app/templates/element/form/nameDiv.php +++ b/app/templates/element/form/nameDiv.php @@ -63,9 +63,9 @@ // from FieldHelper, then overriding that value if an argument was passed in. $isRequired = $this->Field->isReqField($fn); -if(isset($vv_field_arguments['fieldOptions']['required'])) { +if(isset($vv_field_arguments['required'])) { // Use this value (which could be either false or true) - $isRequired = $vv_field_arguments['fieldOptions']['required']; + $isRequired = $vv_field_arguments['required']; } // Extra class required for the grouped controls elements