validation of non model attributes


I would like to know if there is a way to validate (ajax validation) the content of input fields that does not belong to a model?

Regards Mads

I guess I found the solution myself!


if you found solution could you please post it here to help newcomers which will probably meet the same problem ?