Clickable Error Message plugin

Plugin details

Have a long form, or at least one that scrolls past the main page. Want to give your users more interactivity on the forms?
This is unobtrusive, no extra markup is required. If you remove it, your application will work as normal.

Websitehttp://zachinglis.com/2007/coding/rails-plugins/ Repositoryhttp://zachinglis-rails-plugins.googlecode.com/svn/trunk/svn/clickable_error_messages/ Author Zach Inglis Tags error, message LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://zachinglis-rails-plugins.googlecode.com/svn/trunk/svn/clickable_error_messages/

In your view:

	<%= error_messages_for :user %>


Example goes here.

		< div class="errorExplanation" id="errorExplanation">
			< h2>2 errors prohibited this user from being saved< /h2>
			< p>There were problems with the following fields:< /p>
			
			< ul>
				< li>< a href="#user_password">Password< /a> can't be blank< /li>
				< li>< a href="#user_email">Email< /a> can't be blank< /li>
			< /ul>
		< /div>

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 9 months ago