XAOP Labs

RFormation

RFormation is a form engine for use in your Ruby or Rails applications. RFormation provides a DSL that allows programmers and non-programmers alike to build forms with a rich functionality.

Unique to RFormation is that it allows you to specify validation of form data once which is then used both client-side and server-side. From this language-neutral specification RFormation generates both Javascript code that gives immediate feedback to the user as well as server-side Ruby code to validate the form data before processing it further. This can be used to keep your code DRY, but it can also be used to let your users define forms with validation.

RFormation itself is a plain Ruby lib and can be used in any Ruby application including any web framework out there. RFormation is available from github.

We also have a Rails plugin that adds RFormation as another templating engine. RFormation forms can be defined in partials; validation of the data happens automatically so all you have to worry about is how to process the data. This plugin is also available from github.

Happy forming & forking!