diff --git a/configuration/pih/htmlforms/mentalHealth.xml b/configuration/pih/htmlforms/mentalHealth.xml index e0a0efd..526b3f5 100644 --- a/configuration/pih/htmlforms/mentalHealth.xml +++ b/configuration/pih/htmlforms/mentalHealth.xml @@ -198,8 +198,8 @@ if (returnVisitDate && returnVisitDate != getValue('return-visit-date.value')) { setValue('return-visit-date.value',''); // reset return visit date if change to encounter date makes it invalid alert(''); - }--> - } + } + }--> getField('encounterDate.value').change(setMinReturnVisitDate);