Solved

how to pass checkbox in post in ics

Posted on 2008-10-18
1
426 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
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now