Live Validation plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install svn://rubyforge.org/var/svn/livevalidation
Install Javascript and CSS files under public/, with this Rake task:
rake livevalidation:install
Remember including them in your headers, including Prototype too (as LiveValidation depends on it), this way (for example):
<%= javascript_include_tag 'prototype', 'live_validation' %> <%= stylesheet_link_tag 'live_validation' %>
There is no step 3 ;) You only need to add validations to your models, and crete your forms using the Rails form helpers, something like this:
<% form_for(:resource, :url => resources_path) do |f| %> <%= f.text_field :name %> [etc ...] <% end %>
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | Back in time (2 older versions) | Last edited by: scott, 9 months ago

