For Adobe ColdFusion application servers TerraForm 2.1: What's New?

Here are some of the new features you'll find in TerraForm 2.1.

  • Custom validation rules
    Custom validation rules are the now the easiest way to add powerful custom validation to your form. Simply embed boolean validation expressions right there in your form. TerraForm now supports four layers of validation to provide total flexibility:
    1. Datatype - automatic validation based on the field's datatype
    2. Built-in validation rules - maximum length, minimum value, regex pattern matching and so forth
    3. Custom validation rules - add boolean expressions to your form that process the value of one field on its own or several fields in combination (good for situations such as where field y is required if and only if field x has a value).
    4. Custom validation templates - write your own completely custom code block to perform validation and get TerraForm to display the results of that validation in the usual way.



  • Explicit variable names in inputscopelist
    Your field names no longer need to match the variable names in your input scope, as you can explicitly append your variable name to an entry in your inputscopelist. Usually you should match your field names with the variables in your input scope (which could be, for example, a query record set or a structure) but sometimes it is difficult or impossible to do this.


  • cf_terralabel custom tag - optionally use this tag to generate your field labels automatically. You can then flag required fields on the label rather than the field itself, and highlight error fields more flexibly.

  • New formats, datatypes and presets



  • Relative paths for custom validation and settings files
    We've made implementing custom validation scripts easier by allowing you to write either a relative path, an absolute path, or a mapped path to your validation script. And we've done the same for your settings file.


  • New settings file
    We've rearranged it into a more modular form to help you understand what's going on in there.


  • Required field flags
    Automatic (but optional) visual flagging of required fields to help your site users.


  • More flexible formats
    New attributes for formats let you regain fine control over their visual appearance (control the table cells used to lay out checkboxes, for example).


  • qForms n selects related
    Increased compatibility


  • XHTML
    Partial XHTML compliance. Compliance may be increased in future, depending on browser support.


  • Whitespace management
    Better whitespace management means faster loading pages.


  • Faster
    The code has been optimized for select boxes and checkboxes, resulting in quicker pages (for example, country select boxes are roughly 300% faster).


License holders: download your free upgrade.

qForms

A JavaScript forms API featuring client-side validation. TerraForm includes support for qForms as a convenient way to add client-side validation to your forms. qForms is a product of PengoWorks.

HyperText Markup Language
The coding language used to create hypertext documents for use on the World Wide Web.