Index: openacs-4/packages/acs-tcl/tcl/form-processing-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/form-processing-procs.tcl,v diff -u -r1.36 -r1.37 --- openacs-4/packages/acs-tcl/tcl/form-processing-procs.tcl 29 Sep 2003 13:20:55 -0000 1.36 +++ openacs-4/packages/acs-tcl/tcl/form-processing-procs.tcl 30 Sep 2003 19:27:48 -0000 1.37 @@ -424,6 +424,19 @@

+

+    {email:text,nospell                      {label "Email Address"}
+                                              {html {size 40}}}
+    

+ + Define an element of type text with spell-checking disabled. In case spell-checking is enabled globally + for the widget of this element ("text" in the example), the "nospell" flag will override that parameter + and disable spell-checking on this particular element. Currently, spell-checking can be enabled for + these widgets: text, textarea, and richtext. + +

+

+ @see ad_form_new_p @see ad_set_element_value @see ad_set_form_values @@ -711,7 +724,8 @@ } } - optional { + nospell - + optional { if { ![empty_string_p $af_element_parameters($element_name:$flag)] } { return -code error "element $element_name: $flag attribute can not have a parameter" }