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.2.2 -r1.23.2.3 --- openacs-4/packages/acs-core-docs/www/form-builder.html 22 Apr 2007 10:21:55 -0000 1.23.2.2 +++ openacs-4/packages/acs-core-docs/www/form-builder.html 14 Jul 2007 12:34:46 -0000 1.23.2.3 @@ -1,30 +1,29 @@ - -
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: