Index: openacs-4/packages/acs-templating/www/doc/api/form.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/api/form.adp,v diff -u -r1.4.2.2 -r1.4.2.3 --- openacs-4/packages/acs-templating/www/doc/api/form.adp 13 Jul 2023 12:48:33 -0000 1.4.2.2 +++ openacs-4/packages/acs-templating/www/doc/api/form.adp 2 Sep 2024 09:40:25 -0000 1.4.2.3 @@ -2,6 +2,10 @@ {/doc/acs-templating/ {ACS Templating}} {Templating System API: Form} Templating System API: Form +

Form

Templating System : API @@ -17,23 +21,22 @@ must be called before adding elements to the form.

-
-template::form is_request name
+
template::form is_request name
 

Boolean procedure for determining whether a submission is in progress. If this procedure returns true, then an initial request for the form is underway. The code for insert or add forms may thus query for primary key value(s), and the code for update forms may query for current data and set the value(s) of form elements accordingly.

-
-template::form is_valid name
+
template::form is_valid name
 

Boolean procedure that returns true if a submission is in progress and the submission is valid. Database or any other transactions based on the form submission should only take place after this procedure has been checked.

Example

+

 

Note(s)


\ No newline at end of file