Forum OpenACS Development: Response to ad_form documentation

Collapse
Posted by Don Baccus on
Ola, Simon, ad_form's cool but remember ... it's just Tcl :)  I can't banish the standard Tcl rules for parsing input just by writing a proc!

ad_form_new_p is a new proc written by Tilmann that works when there's a error in form validation, which confuses the simpler "info exists" test.  So, yes, the doc is out of date on this point.

For a complete list of datatypes, go to acs-templating/tcl and do

grep ::validate *.tcl

For a complete list of widgets, to go acs-templating/tcl and do

grep ::widget widget-procs.tcl

(ad_form knows nothing about widgets and datatypes beyond what the form templating system implements)