# Vlidations

**URL:** <https://www.ruby-forum.com/t/vlidations/135277>\
**Category:** Rails\
**Created:** [April 20, 2008, 2:19pm UTC](https://www.ruby-forum.com/t/vlidations/135277 "2008-04-20T14:19:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anasmd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e495f1/32.png) [@anasmd](https://www.ruby-forum.com/u/anasmd)\
**Post date:** [April 20, 2008, 2:19pm UTC](https://www.ruby-forum.com/t/vlidations/135277/1 "2008-04-20T14:19:56Z")

</div>

hi im anas

Im using model validatios,it check’s in the model…  
instead of that when i click the view’s submit button (i.e. .rhtml  
file which contain the form details )it’l check validations such  
as… ("emptyness,numerical,format of file uploading…)

```
                                              MD ANAS ALI
```

---

<div class="post-metadata">

**Author:** ![anasmd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e495f1/32.png) [@anasmd](https://www.ruby-forum.com/u/anasmd)\
**Post date:** [April 20, 2008, 2:37pm UTC](https://www.ruby-forum.com/t/vlidations/135277/2 "2008-04-20T14:37:27Z")

</div>

Hi Anas,

I am not sure whether I got you right, but to me it sounds as if you  
are trying to use client side form validation. I.e., are you trying to  
validate your form data before it is sent back to the server?

In that case, there seems to be a nice Rails plugin called  
LiveValidation; it takes your model validations and builts matching  
client-side validation scripts in Javascript. See:  
[http://livevalidation.rubyforge.org/](http://livevalidation.rubyforge.org/)

It’s built on top of the LiveValidation JS library:  
[http://www.livevalidation.com/](http://www.livevalidation.com/)  
Maybe these meet your needs.

Jan
