Forum OpenACS Q&A: Re: ad_form - getting the number of formerrors in the standard template

Closest I could come up with is putting something like this in your tcl:

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>