From d994361c5ffbcc2e5d907d54bda07fc4b4bec06a Mon Sep 17 00:00:00 2001 From: grimen Date: Sat, 31 Oct 2009 04:17:36 +0100 Subject: [PATCH] Updated README. --- README.textile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.textile b/README.textile index 1b75b57..6b9a4f2 100644 --- a/README.textile +++ b/README.textile @@ -133,7 +133,8 @@ end
 <% form_for(@post, :html => {:class => 'validate'}) do |f| %>
-  <%= f.text_field :title %>
+  <%= f.text_field :title %>  # Validated performed using client-side. Note: uniqueness-check is performed using an AJAX-request.
+  <%= f.text_area :body %>    # No client-side validation performed, i.e. ignored.
 <% end %>
 
@@ -161,6 +162,8 @@ v2.Field.prototype.failureClass = 'error'; v2.Field.prototype.successClass = ''; +Actually, Validatious errors can be tweaked to work with *any form builder/markup*, but how that is done is out of context for this plugin. For more info; checkout the documentation for the "Validatious Reporting extension":http://validatious.org/learn/features/reporting. + h2. Limitations This is very much work-in-progress, so there are some known limitations that should work very soon. See "TODO":http://github.com/grimen/validatious-on-rails/blob/master/TODO.