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 -r1.9.2.1 -r1.9.2.2
--- openacs-4/packages/acs-core-docs/www/xml/developers-guide/form-builder.xml 23 Sep 2015 11:55:07 -0000 1.9.2.1
+++ openacs-4/packages/acs-core-docs/www/xml/developers-guide/form-builder.xml 23 Jun 2016 08:32:46 -0000 1.9.2.2
@@ -73,7 +73,7 @@
What this will do is set the value for pm_task_id and all the
other form elements, and resubmit the form. If you then include a
- block that extends the form, you'll have the opportunity to add in
+ block that extends the form, you'll have the opportunity to add in
subcategories:
if {[info exists pm_task_id] && $pm_task_id ne ""} {
@@ -82,8 +82,8 @@
Note that you will get strange results when you try to set
- the values for the form. You'll need to set them explicitly in an
- -on_refresh section of your ad_form. In that section, you'll get
+ the values for the form. You'll need to set them explicitly in an
+ -on_refresh section of your ad_form. In that section, you'll get
the values from the database, and set the values as so:
db_1row get_task_values { }
@@ -94,12 +94,12 @@
Troubleshooting
- A good way to troubleshoot when you're using ad_form is to
+ 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!
+ns_log notice it's my page!
set mypage [ns_getform]
if {$mypage eq ""} {
ns_log notice no form was submitted on my page