Index: openacs-4/packages/acs-core-docs/www/xml/developers-guide/form-builder.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/developers-guide/form-builder.xml,v diff -u -N -r1.8 -r1.8.12.1 --- openacs-4/packages/acs-core-docs/www/xml/developers-guide/form-builder.xml 17 Jul 2006 05:38:37 -0000 1.8 +++ openacs-4/packages/acs-core-docs/www/xml/developers-guide/form-builder.xml 13 Oct 2013 10:33:55 -0000 1.8.12.1 @@ -76,7 +76,7 @@ block that extends the form, you'll have the opportunity to add in subcategories: - if {[exists_and_not_null pm_task_id]} { + if {[info exists pm_task_id] && $pm_task_id ne ""} { db_1row get_task_values { } ad_form -extend -name form_name -form { ... } @@ -101,7 +101,7 @@ ns_log notice it's my page! set mypage [ns_getform] -if {[string equal "" $mypage]} { +if {$mypage eq ""} { ns_log notice no form was submitted on my page } else { ns_log notice the following form was submitted on my page