Dashboard > FarCry 5.0 Developers Guide (Fortress) > Home > Fortress Roadmap > Form Components
Form Components Log In | Sign Up   View a printable version of the current page.

Added by Blair McKenzie , last edited by Geoff Bowers on Jan 24, 2008  (view change)
Labels: 
(None)

Form components requires FarCry 4.1. They are not available in earlier versions of FarCry.

Overview

Finally we can use Form Tools in forms outside the COAPI. With the added bonus of being able to manage and pass around forms as components.

Notes

  • Added a 'forms' package.
  • Components in this directory should either extend the forms abstract component or another form.
  • Forms can be put in core, plugins, or the project as with types
  • Property metadata is identical to that of types and rules with the exception of array and uuid properties which are disabled
  • A form doesn't have setData, getData, beforeSave or afterSave, instead supporting a 'process' method with a fields (struct) argument. This method should perform an processing the form requires and return the fields.
  • Formtool tags deal with forms exactly the same way as types - the name of a form can be used whereever the name of a content type can.
  • A new formtool WDDX which provides a way to embed data described by a form component as a property in a content type or rule.
Powered by a free Atlassian Confluence Open Source Project License granted to FarCry CMS. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators