Index: openacs-4/packages/acs-core-docs/www/form-builder.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/form-builder.html,v diff -u -r1.23 -r1.23.4.1 --- openacs-4/packages/acs-core-docs/www/form-builder.html 17 Jul 2006 05:38:31 -0000 1.23 +++ openacs-4/packages/acs-core-docs/www/form-builder.html 3 Feb 2008 12:07:38 -0000 1.23.4.1 @@ -1,29 +1,30 @@ -
A good way to troubleshoot when you're using ad_form is to add the following code at the top of the .tcl page (thanks Jerry Asher):
ns_log notice it's my page! set mypage [ns_getform] -if {[string equal "" $mypage]} { +if {[string equal "" $mypage]} { ns_log notice no form was submitted on my page } else { ns_log notice the following form was submitted on my page ns_set print $mypage } -
Here are some common errors and what to do when you - encounter them: