Index: openacs-4/packages/acs-templating/www/doc/tagref/formtemplate.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/tagref/formtemplate.html,v diff -u -N -r1.3.22.2 -r1.3.22.3 --- openacs-4/packages/acs-templating/www/doc/tagref/formtemplate.html 1 Dec 2016 20:43:45 -0000 1.3.22.2 +++ openacs-4/packages/acs-templating/www/doc/tagref/formtemplate.html 2 Dec 2016 12:12:21 -0000 1.3.22.3 @@ -54,12 +54,15 @@ and is by default set to standard, which is included in the distribution.

-
  • HTML attributes, including JavaScript event handlers, may be -specified as attributes to the formtemplate tag. The system -will include all such attributes in the form tag of the -rendered HTML form.

    +
  • + HTML attributes may be specified as attributes to + the formtemplate tag. The system will include all such + attributes in the form tag of the rendered HTML form. + Although possible, newer browser security features such as CSP + discourage the use of inline Javascript event handlers. +

    -
    <formtemplate id="add_user" onSubmit="validate();">
    +
    <formtemplate id="add_user" style="background-color:white;">

    This will work for both autogenerated and explicitly formatted forms.