Index: openacs-4/packages/acs-templating/www/doc/tagref/formwidget.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/tagref/formwidget.html,v diff -u -N -r1.2.22.2 -r1.2.22.3 --- openacs-4/packages/acs-templating/www/doc/tagref/formwidget.html 1 Dec 2016 20:43:45 -0000 1.2.22.2 +++ openacs-4/packages/acs-templating/www/doc/tagref/formwidget.html 2 Dec 2016 11:11:42 -0000 1.2.22.3 @@ -43,12 +43,14 @@ Explicit form tags in the template may be used in special circumstances, but should be avoided wherever possible.

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

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

    -
    <formwidget id="cc_number" onChange="validate();">
    +
    <formwidget id="cc_number" style="background-color:white;">
  • See the formtemplate and formgroup tags for more information