Skip to content

Commit

Permalink
Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
grimen committed Oct 31, 2009
1 parent f6e9db2 commit d994361
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.textile
Expand Up @@ -133,7 +133,8 @@ end

<pre>
<% 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 %>
</pre>

Expand Down Expand Up @@ -161,6 +162,8 @@ v2.Field.prototype.failureClass = 'error';
v2.Field.prototype.successClass = '';
</pre>

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.
Expand Down

0 comments on commit d994361

Please sign in to comment.