Skip to main content

Close
Get the best research tool on the web today,and free!
Connect with people with common interests!

saved by3 people, first byMike Howe on 2007-04-16, last byÉric Daspet on 2008-06-12

  • ActiveForm provides a DSL for defining complete XHTML forms with validation. You can compose your own widgets and (nested) form sections from basic elements. Markup is generated by Builder, using several wrappers and callbacks which render their child elements accordingly. This allows one to customize all output.



    Both serverside as well as clientside validation is supported and values are bound in a nested fashion to their elements, similar to how Rails expects params from forms.



    It’s possible to output elements, sections and the complete forms, allowing easy integration with ERB templates. While it’s distributed as a plugin for Rails it can easily be used in standalone Ruby scripts.