diff --git a/ExternalModule.php b/ExternalModule.php index 4598262..5a37b97 100644 --- a/ExternalModule.php +++ b/ExternalModule.php @@ -28,6 +28,13 @@ function redcap_survey_page_top($project_id, $record = null, $instrument, $event $this->applyStyles('survey', $instrument); } + /** + * @inheritdoc + */ + function redcap_survey_acknowledgement_page($project_id, $record = null, $instrument, $event_id, $group_id = null, $survey_hash, $response_id = null, $repeat_instance = 1) { + $this->applyStyles('survey', $instrument); + } + /** * Apply CSS rules. * diff --git a/config.json b/config.json index efba07f..735b2a9 100644 --- a/config.json +++ b/config.json @@ -4,7 +4,8 @@ "description": "Allow administrators to inject CSS into surveys and data entry forms. See full documentation here.", "permissions": [ "redcap_data_entry_form_top", - "redcap_survey_page_top" + "redcap_survey_page_top", + "redcap_survey_acknowledgement_page" ], "authors": [ {