# Validating Comments Form in

**URL:** <https://www.ruby-forum.com/t/validating-comments-form-in/93628>\
**Category:** Rails\
**Created:** [April 5, 2006, 10:22am UTC](https://www.ruby-forum.com/t/validating-comments-form-in/93628 "2006-04-05T10:22:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ce73a5/32.png) [@Gunt](https://www.ruby-forum.com/u/Gunt)\
**Post date:** [April 5, 2006, 10:22am UTC](https://www.ruby-forum.com/t/validating-comments-form-in/93628/1 "2006-04-05T10:22:04Z")

</div>

I have a post page that includes a comment form at the bottom. I want to  
validate the post form and display the error messages if validation  
fails in the post page.

What is the best way to do this?
