form-processing-procs.tcl

  • last updated 53 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
project zen: adding fieldset parameter to ad_form

Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Double Click protection

  1. … 1 more file in changeset.
fix for the bug with tcl 8.5 mentioned in http://openacs.org/forums/message-view?message_id=487196

Fixed typo.

Fixed a bug that deletes previously defined validate blocks when extending an ad_form.

check both the ad_form elements and the template elements

inverted logic and the wrong element key from last commit

use template::element::exists for checking if an element exists for validation blocks - faster and works in the event you added an element directly via the form api

1. Allow use of variables in form element names, so you can more easily build

dynamic forms.

2. Relax the rules slightly so you can initialize a form without providing

a form block.

Allow one to initiate an ad_form with specifying the "form" block, useful

for building forms incrementally.

Added doc to ad_form about its two modes: declare and execute

merge of all changes on oacs-5-0 branch between tag openacs-5-0-0-final and jcd-merge-pre503 (except those in lars-blogger).

  1. … 293 more files in changeset.
Added additional information about the likely cause of an error when selecting values: the query returned no rows

Fix for bug introduced by Don's 1.45 on_validation_error patch: Now we would enter the on/after_submit-new/edit_data blocks, even if the form was refreshing.

Added an "-on_validation_error" block that can be used to set the page

title etc after a validation error (request blocks aren't executed in this

case, and using ad_form_new_p explicitly has its own problems).

Added links to available datatypes and widgets to ad_form documentation

Clarified error message

added a clue to the 'no select_query or select_query_name clause

exists error' message

Fixed bug: global ad_to_sql/af_from_sql/af_to_html weren't global'd, causing ad_form to forget from call to call (e.g. when you -extend a form)

merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

  1. … 598 more files in changeset.
added link to new docs

ad_form doc fix patch 94 Benjamin Bytheway

bugfix #1096: let displayed text in form begin with -

  1. … 2 more files in changeset.
Fixing call to ad_sign by adding -- before parameters to protect against

values beginnign with -

- documented difference between -edit_request and -select_query. Fix bug #746

  1. … 1 more file in changeset.
Added support for spell-checking to the form bulider and ad_form.

  1. … 6 more files in changeset.
- Fix bug #846, patch #295

Fixed bug #460: report -code error instead of return -code error.

Support display_buttons on ad_form. Not sure we should do this since display_buttonss is deprecated, but I've already written the code, so ...