The xhtml form template sets up the wrapping table around all the other [xhtml theme] form elements. In addition to creating this wrapping table, the opening and closing templates also, if the _validate_ parameter is set to true, enable [Pure JavaScript Client Side Validation]. See the *form.ftl* contents:

{snippet:id=all|lang=xml|url=webwork/src/java/template/xhtml/form.ftl}

The closing template, *form-close.ftl*:

{snippet:id=all|lang=xml|url=webwork/src/java/template/xhtml/form-close.ftl}