# Ajax form helpers

**URL:** <https://www.ruby-forum.com/t/ajax-form-helpers/125875>\
**Category:** Rails\
**Created:** [January 13, 2008, 6:59am UTC](https://www.ruby-forum.com/t/ajax-form-helpers/125875 "2008-01-13T06:59:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nettome](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f04885/32.png) [@nettome](https://www.ruby-forum.com/u/nettome)\
**Post date:** [January 13, 2008, 6:59am UTC](https://www.ruby-forum.com/t/ajax-form-helpers/125875/1 "2008-01-13T06:59:32Z")

</div>

Hello everybody,

I read about the for helpers

1. submit\_to\_remote
2. form\_remote\_tag
3. link\_to\_remote
4. form\_for

I’m confused about which one to use and when, please can anyone help  
me understand them  
thanks

---

<div class="post-metadata">

**Author:** ![nettome](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f04885/32.png) [@nettome](https://www.ruby-forum.com/u/nettome)\
**Post date:** [January 13, 2008, 8:45am UTC](https://www.ruby-forum.com/t/ajax-form-helpers/125875/2 "2008-01-13T08:45:14Z")

</div>

On 13 Jan 2008, at 05:57, nettome wrote:

> Hello everybody,
> 
> I read about the for helpers
> 
> 1. submit\_to\_remote
> 2. form\_remote\_tag
> 3. link\_to\_remote
> 4. form\_for

form\_for isn’t an ajax helper. It’s just for building regular forms  
link\_to\_remote is your basic ajax helper. it creates a link which when  
clicked makes an ajax request  
form\_remote\_tag creates a form that will submit over ajax (see also  
form\_remote\_for, same as form\_remote\_ag bt with form\_for semantics)  
submit\_to\_remote creaes a button that will submit its form via an ajax  
request

Fred

---

<div class="post-metadata">

**Author:** ![nettome](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f04885/32.png) [@nettome](https://www.ruby-forum.com/u/nettome)\
**Post date:** [January 13, 2008, 5:51pm UTC](https://www.ruby-forum.com/t/ajax-form-helpers/125875/3 "2008-01-13T17:51:04Z")

</div>

[www.gotapi.com/rubyrails](http://www.gotapi.com/rubyrails)

On Jan 13, 7:44 am, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![nettome](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f04885/32.png) [@nettome](https://www.ruby-forum.com/u/nettome)\
**Post date:** [January 14, 2008, 5:27am UTC](https://www.ruby-forum.com/t/ajax-form-helpers/125875/4 "2008-01-14T05:27:02Z")

</div>

thanks a lot  
I would look into it

---

<div class="post-metadata">

**Author:** ![nettome](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f04885/32.png) [@nettome](https://www.ruby-forum.com/u/nettome)\
**Post date:** [January 14, 2008, 6:06am UTC](https://www.ruby-forum.com/t/ajax-form-helpers/125875/5 "2008-01-14T06:06:45Z")

</div>

Also [http://noobkit.com](http://noobkit.com) I find that it can be better documented than  
[gotapi.com](http://gotapi.com) sometimes. Also includes “edge” stuff.

On Jan 14, 2008 2:56 PM, nettome [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > On 13 Jan 2008, at 05:57, nettome wrote:  
> > > form\_for isn’t an ajax helper. It’s just for building regular forms
> > > 
> > > > me understand them  
> > > > thanks
> > > > 
> > > > >

–  
Ryan B.

> **[frozenplague.net](http://www.frozenplague.net)**
>
> This domain may be for sale!

Feel free to add me to MSN and/or GTalk as this email.
