if { [template::form::is_submission $form_name] } { set formerror_msg " There were problems with your input. Please correct the error(s) below. " }
and this in your adp
<if formerror_msg not nil> @formerror_msg@ </if>