# Form\_remote\_tag and \<table\> doesn't pass params?

**URL:** <https://www.ruby-forum.com/t/form-remote-tag-and-table-doesnt-pass-params/160050>\
**Category:** Rails\
**Created:** [February 11, 2009, 10:28am UTC](https://www.ruby-forum.com/t/form-remote-tag-and-table-doesnt-pass-params/160050 "2009-02-11T10:28:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raimon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@raimon](https://www.ruby-forum.com/u/raimon)\
**Post date:** [February 11, 2009, 10:28am UTC](https://www.ruby-forum.com/t/form-remote-tag-and-table-doesnt-pass-params/160050/1 "2009-02-11T10:28:36Z")

</div>

Hello,

This code works as expected:

\<% form\_remote\_tag(:url =\> {:action =\> ‘create\_ajax’}) do %\>

Referencia \<%= text\_field ‘expedient’, ‘reference’ %\>

\<%= submit\_tag ‘Send Email’ %\>

\<% end %\>

Processing ExpedientsController#create\_ajax (for 127.0.0.1 at 2009-02-11  
10:21:15) [POST]  
Session ID: d0862b3026b383198421acc44e03749c  
Parameters: {“expedient”=\>{“reference”=\>“1234”}, “commit”=\>“Send  
Email”,  
“authenticity\_token”=\>“fee980baf3cb7450236dd32e8a25dd0f0eb3911f”}

But, if I want to add a

| … for the input fields, RoR  
doesn’t receive the params, this code doesn’t work:

\<% form\_remote\_tag(:url =\> {:action =\> ‘create\_ajax’}) do %\>

| referencia | \<%= text\_field 'expedient', 'reference' %\>\<%= submit\_tag 'Send Email' %\> |

\<% end %\>

Processing ExpedientsController#create\_ajax (for 127.0.0.1 at 2009-02-11  
10:21:55) [POST]  
Session ID: d0862b3026b383198421acc44e03749c  
Parameters: {“commit”=\>“Send Email”,  
“authenticity\_token”=\>“fee980baf3cb7450236dd32e8a25dd0f0eb3911f”}

I can’t see any strange code in the source html resultant page …

any ideas ?

thanks!

r.

 |
