ruleForm
Developer
Blair McKenzie
This rule can create a form from any type in farcry, which when submitted creates a new instance in the type table. Includes entry field caption, server side validation and feedback (email,credit card number,integer,float,money,etc), changing the order of the fields, making them required, in/visible, and prividing default values.
Currently filters out generic type properties and creates the type with empty, default or anonymous values for them. Could probably be cleaned up and there's a lot of room for expanding the validation and form input types, but it works quite well.
9 January 2005
Reworked a lot of the code. Hopefully, others will have less trouble with this rule now. Have added functionality for changing the success message, and for adding extra processing functionality.
When you add a webskin template to the type with the filename process*.cfm, the rule will provide that as an option for extra processing. Once the form data is successfully used to create a new object in the database the template specified in the "Processing" list box will be executed. If there is output, it will be inserted after the form heading, but this option is mainly for behind the scenes stuff like confirmation emails or setting up user accounts.