Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

ruleForm

Developer

Blair McKenzie

  File Modified
No files shared here yet.

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, and output (if any) will be inserted after the form heading.

  • No labels