For Adobe ColdFusion application servers Intelligence

Reuse your form for entering new data, editing existing data, and handling invalid submissions. TerraForm respects your site's locale, and takes care of internationalization and localization automatically. Now four methods of validation provide a combination of simplicity and power, while all the form errors are presented in the same, consistent way.

Existing data / new data / invalid data.

With TerraForm, one form will handle each of these cases. TerraForm will automatically pre-fill a form with information from your database or any other source (such as a ColdFusion structure, variable scope, or XML file). If desired, you can specify a sequence of input sources for TerraForm to search in order. You can even specify different input sources for individual fields. Lastly, you can add a default value to each field.

Friendly errors.

Each error on the form is explained at the top of the form. You can modify the messages to your own preferences, move the messages where you like and customise their appearance. Additionally, each field is highlighted by emphasizing the label next to it. This makes it easier for a visitor to find the point in the form that the error relates to.


TerraForm now provides four methods of data validation. The range of validation options available allows you to use the simplest technique for the task at hand, while still leaving you with total flexibility. Datatype validation checks that the entered data matches the field's specified datatype (such as integer or date). Built-in rule validation checks that the data matches any basic rules you have supplied (such as required or maxlength). These two forms of validation will be adequate for most fields. However, sometimes a field needs to be validated in an unusual way or in conjunction with other fields. In these cases, you can use custom validation. There are now two ways to do this. Either embed custom boolean rules right in your form, or create a completely separate file and write your own code that decides what, if any, error to generate. Your custom error appears alongside any other errors in just the same way.

eXtensible Markup Language