Client-side validation in Rails?

We have around 80 forms in our web application. We would like to perform
some validation checks before the user submits the form. Is there some
magic provided by Rails to help us achieve this?
The models have validations specified. But I guess they will be executed
only once the form data is being saved. So that’s not what we are
looking for.

Thanks,
Yash