Summary
This article covers a script example for questions before the study start date.
Table of Contents
Description
This script fires an alert on any of the target questions that are before the study start date. This alert is optional and can be overridden.
Script
<script scriptId="studyStartDateCheck"> <body> <s:alert> <s:expression> <s:lte> <s:datePath path=".studyStartDate:value"/> <s:datePath path="/preTreatment/exempt.ds_dt:value"/> </s:lte> </s:expression> <s:correction> <s:string value="optional"/> </s:correction> <s:text> <s:string value="Date must be on or after Study Start Date. Please confirm or provide correct dates."/> </s:text> </s:alert> </body> <target typeId="ds_dt" when="preprocess" shouldReconcile='true'/> </script>
Need more help?
Please visit the Fountayn Contact Information page.