# Link\_to\_remote with pop-up or link\_to with form.serialize?

**URL:** <https://www.ruby-forum.com/t/link-to-remote-with-pop-up-or-link-to-with-form-serialize/136854>\
**Category:** Rails\
**Created:** [May 6, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/link-to-remote-with-pop-up-or-link-to-with-form-serialize/136854 "2008-05-06T21:23:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newrubygirl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e274bd/32.png) [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Post date:** [May 6, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/link-to-remote-with-pop-up-or-link-to-with-form-serialize/136854/1 "2008-05-06T21:23:42Z")

</div>

I need to create a new record based on form values prior to a pop-up  
window opening. The way I see to do that is form.serialize, but it  
looks like that’s only possible with link\_to\_remote and similar.

Can I either do a link\_to\_remote AND have it open the same pop-up window  
that link\_to is opening for me or can I add something to link\_to so that  
I can send along the form variables?
