Index: openacs.org-dev/packages/acs-templating/www/doc/demo/pay.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-templating/www/doc/demo/pay.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-templating/www/doc/demo/pay.tcl 9 Jul 2002 17:35:00 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-templating/www/doc/demo/pay.tcl 8 Oct 2002 15:46:51 -0000 1.1.1.2 @@ -1,8 +1,12 @@ -form create pay_bill -elements { - payee -label "Payee" -datatype text -widget text - amount -label "Amount" -datatype integer -widget text -} +form create pay_bill -section required -elements { + payee -label "Payee" -datatype text -widget text + amount -label "Amount" -datatype integer -widget text +} +template::form::section pay_bill optional +template::element::create pay_bill note -label "Note" -datatype text -widget text -optional + + # check if this is the initial submission or the confirmation page if { [ns_queryexists form:confirm] } {