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.26.2.2 -r1.26.2.3 --- openacs-4/packages/acs-core-docs/www/form-builder.html 12 Dec 2010 00:07:02 -0000 1.26.2.2 +++ openacs-4/packages/acs-core-docs/www/form-builder.html 12 Dec 2010 01:37:24 -0000 1.26.2.3 @@ -1,22 +1,12 @@ -<<<<<<< form-builder.html - -Using Form Builder: building html forms dynamically

Using Form Builder: building html forms dynamically

Overview

($Id$)
-======= -Using Form Builder: building html forms dynamically

Using Form Builder: building html forms dynamically

Overview

($Id$)
->>>>>>> 1.28 +Using Form Builder: building html forms dynamically

Using Form Builder: building html forms dynamically

Overview

($Id$)
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 adaptable UI. Error handling includes inline error reporting, and is customizable. However, ad_form can be tricky to use. In addition to this document, -<<<<<<< form-builder.html - the ad_form api - documentation is helpful.

Multi-part Elements

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

SELECT elements

  1. 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 "
    -=======
      the ad_form api
    - documentation is helpful.

Multi-part Elements

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

SELECT elements

  1. 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 "
    ->>>>>>> 1.28
    + documentation is helpful.

Multi-part Elements

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

SELECT elements

  1. 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
           from foos
    @@ -60,12 +50,6 @@
         ns_log notice the following form was submitted on my page
         ns_set print $mypage
     }
    -<<<<<<< form-builder.html
    -    

Tips for form widgets

Here are some tips for dealing with some of the form widgets:

Current widget

Common 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.

View comments on this page at openacs.org
-=======

Tips for form widgets

Here are some tips for dealing with some of the form widgets:

Current widget

Common 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.

View comments on this page at openacs.org
->>>>>>> 1.28 + encounter them:

Error when selecting values

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

View comments on this page at openacs.org