validation for a non active record input field

not even a single person implemented non-active record field
validation?...please help

Hi there,

I've never done something like that but I can imagine you could do the
validation in your controller. When the action is invoked you can
check the values received in the params hash and act accordingly.

Pepe

:slight_smile:

What you should have is a new model (e.g. AdReply), so that that form
points to AdRepliesController#create, which then attempts to create
the model, and redirects wherever you need to if successful/failed.
All the validations are then on that model and are independent of your
ClassifiedModel.

Cheers,

-- D