Index: openacs-4/packages/acs-core-docs/www/form-builder.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/form-builder.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-core-docs/www/form-builder.adp 7 Aug 2017 23:47:50 -0000 1.2 +++ openacs-4/packages/acs-core-docs/www/form-builder.adp 8 Nov 2017 09:42:10 -0000 1.3 @@ -12,11 +12,11 @@ Using Form Builder: building html forms dynamically

-Overview

-
($‌Id: form-builder.xml,v 1.9.2.2 2016/06/23 -08:32:46 gustafn Exp $)
-OpenACS docs are written by the named authors, and may be edited by -OpenACS documentation staff.

OpenACS has a form manager called ad_form. Ad_form has an +Overview

<authorblurb>

($‌Id: +form-builder.xml,v 1.10 2017/08/07 23:47:54 gustafn Exp +$)

+</authorblurb> +

OpenACS has a form manager called ad_form. Ad_form has an adaptable UI. Error handling includes inline error reporting, and is customizable. However, ad_form can be tricky to use. In addition to this document, the ad_form api documentation is helpful.

@@ -25,10 +25,10 @@ Multi-part Elements

Some elements have more than one choice, or can submit more than one value.

-SELECT elements

  1. +SELECT elements
  1. -Creating the form element. Populate -a list of lists with values for the option list.

    +Creating the form element. 
    +Populate a list of lists with values for the option list.

     set foo_options [db_list_of_lists foo_option_list "
         select foo,
                foo_id
    @@ -106,7 +106,7 @@
     Errors

Here are some common errors and what to do when you encounter them:

-Error when selecting values

This generally happens when there is an error in your query.

+Error when selecting values

This generally happens when there is an error in your query.