# \[SOLVED thanks Frederick\] was Re: newbie stumped - when form validates, normally return is fine, but

**URL:** <https://www.ruby-forum.com/t/solved-thanks-frederick-was-re-newbie-stumped-when-form-validates-normally-return-is-fine-but/155337>\
**Category:** Rails\
**Created:** [December 10, 2008, 6:48pm UTC](https://www.ruby-forum.com/t/solved-thanks-frederick-was-re-newbie-stumped-when-form-validates-normally-return-is-fine-but/155337 "2008-12-10T18:48:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@rick](https://www.ruby-forum.com/u/rick)\
**Post date:** [December 10, 2008, 6:48pm UTC](https://www.ruby-forum.com/t/solved-thanks-frederick-was-re-newbie-stumped-when-form-validates-normally-return-is-fine-but/155337/1 "2008-12-10T18:48:29Z")

</div>

Thanks Frederick. Your explanation was perfect! (Now I’ll work on  
figuring out how to handle the problem creating the checkbox manually,  
but you got me on the right path.)

(Seriously, send my a paypal link or else I’ll be getting you a gift  
certificate to amazon or something:)

On Wed, Dec 10, 2008 at 11:27 AM, Frederick C.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > helper creates a hidden input field with the same name (and value 0)  
> > > parameters you get look like
> 
> match[new\_game\_attributes][][name]=fred
> 
> >

–  
Rick

---

<div class="post-metadata">

**Author:** ![rick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@rick](https://www.ruby-forum.com/u/rick)\
**Post date:** [December 10, 2008, 7:15pm UTC](https://www.ruby-forum.com/t/solved-thanks-frederick-was-re-newbie-stumped-when-form-validates-normally-return-is-fine-but/155337/2 "2008-12-10T19:15:33Z")

</div>

On 10 Dec 2008, at 17:47, Rick wrote:

> Thanks Frederick. Your explanation was perfect! (Now I’ll work on  
> figuring out how to handle the problem creating the checkbox manually,  
> but you got me on the right path.)
> 
> (Seriously, send my a paypal link or else I’ll be getting you a gift  
> certificate to amazon or something:)

Don’t mention it, all in a day’s play 🙂
