# Handling Validation Errors in Ajax Forms

**URL:** <https://www.ruby-forum.com/t/handling-validation-errors-in-ajax-forms/104257>\
**Category:** Rails\
**Created:** [May 16, 2007, 12:04am UTC](https://www.ruby-forum.com/t/handling-validation-errors-in-ajax-forms/104257 "2007-05-16T00:04:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 16, 2007, 12:04am UTC](https://www.ruby-forum.com/t/handling-validation-errors-in-ajax-forms/104257/1 "2007-05-16T00:04:58Z")

</div>

How do you handle validation errors on Ajax (remote) forms? Do you  
render a different action when an error happens (such as error,  
therefore everything is handled by error.rjs) or do you simply let the  
view decide if there was an error or not and act accordingly?

Thanks in advance
