?
Solved

how to pass checkbox in post in ics

Posted on 2008-10-18
1
Medium Priority
?
439 Views
Last Modified: 2013-12-25
I would like to pass data in a post with delphi fpiette ics.
I use the HttpCli1.SendStream and fill it with the needed form variable. And then activate the HttpCli1.post to post the data.

Though, I do not know how to pas information f checkbox array fields?
<input type="checkbox" name="fields[]" value="field1">
<input type="checkbox" name="fields[]" value="field2">
<input type="checkbox" name="fields[]" value="field3">

Open in new window

0
Comment
Question by:amitbueno
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 200 total points
ID: 22752728
don't know HttpCli.SendStream but the data to be posted should be something like:
   fields%5B%5D=field3
(if field3 was checked)
or
  fields%5B%5D=field1&fields%5B%5D=field3
(if field1 and field3 was checked)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question