rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Randy M <randy_michaels@aol.com>
To: Rack Development <rack-devel@googlegroups.com>
Subject: Re: Checkbox selection trouble in request.params
Date: Sat, 16 Jun 2012 01:13:40 -0700 (PDT)	[thread overview]
Message-ID: <c846cc31-b8ae-42ff-bfd6-1c313075d000@l10g2000pbi.googlegroups.com> (raw)
In-Reply-To: <FED7BAC8-3737-4C0F-9E2D-372D3E5C23DD@gmail.com>

That's my answer.. thankyou!

> correct way to use this:
>
> <input type="checkbox" name="foo[]" value="1"> Item 1
> <input type="checkbox" name="foo[]" value="2"> Item 2
>
> note []  after foo
>
> > Well, but these HTML checkbox generates that query_string..
>
> > <input type="checkbox" name="foo" value="1"> Item 1
> > <input type="checkbox" name="foo" value="2"> Item 2
>
> > at Rack, we cannot use these type form field?

      reply	other threads:[~2012-06-16  8:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13  7:55 Checkbox selection trouble in request.params Randy M
2012-06-15 15:58 ` Joshua Ballanco
2012-06-15 17:15   ` Randy M
2012-06-15 17:11     ` Silviu Rusu
2012-06-16  8:13       ` Randy M [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c846cc31-b8ae-42ff-bfd6-1c313075d000@l10g2000pbi.googlegroups.com \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).