Forum: Ruby on Rails Reporting Form Errors

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
80159acdf89580a20e8e835772b5bf82?d=identicon&s=25 doug (Guest)
on 2007-03-17 00:44
(Received via mailing list)
Sometimes I pass values from a form to its associated
action by assigning that value to hidden field in the form.
The intention is to use the passed value to modify the
behavior of the action.  So, it's sort of a configuration
option for the action.  Sometimes I want to insist that
a particular hidden field be present and/or insist that
its value meet some criteria.  If it doesn't, I want to
produce an error message.  I notice that Rails has its
own excellent error messaging system.  I'm wondering
whether this is something I should try to tap into or
should I attempt to create my own?  Any guiding
comments would be appreciated.  Thanks in advance.

     ... doug
This topic is locked and can not be replied to.