# Problem while submitting the form

**URL:** <https://www.ruby-forum.com/t/problem-while-submitting-the-form/130441>\
**Category:** Rails\
**Created:** [February 28, 2008, 8:51am UTC](https://www.ruby-forum.com/t/problem-while-submitting-the-form/130441 "2008-02-28T08:51:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manusharma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/71e660/32.png) [@manusharma](https://www.ruby-forum.com/u/manusharma)\
**Post date:** [February 28, 2008, 8:51am UTC](https://www.ruby-forum.com/t/problem-while-submitting-the-form/130441/1 "2008-02-28T08:51:56Z")

</div>

Hi,

I am encountering this weird problem while submitting the form. A simple  
form is created and when I click on submit button, the page does  
nothing.  
There is no action taken. Ideally, it should redirect to the list page.

When I click submit, the page shows no error, nothing but stays in its  
current state. Can anybody help me on this?

Thanks  
Manu

---

<div class="post-metadata">

**Author:** ![manusharma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/71e660/32.png) [@manusharma](https://www.ruby-forum.com/u/manusharma)\
**Post date:** [February 28, 2008, 9:44am UTC](https://www.ruby-forum.com/t/problem-while-submitting-the-form/130441/2 "2008-02-28T09:44:56Z")

</div>

Manu Sharma wrote:

> When I click submit, the page shows no error, nothing but stays in its  
> current state. Can anybody help me on this?

This will definitely happen if you create a submit button that is not  
inside a form element.

Otherwise, more information is required. In particular, context. What  
is the contents of the view? When your browser is displaying the form,  
view the source and see if it’s what you expect. Does anything appear  
in your log file when you hit the submit button?
