Solved

how to pass checkbox in post in ics

Posted on 2008-10-18
1
428 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is assert.deepEqual? 4 46
Visual Studio 2013 and Eclipse Neon 6 33
How can i open a .fxp file 3 29
Transform normalized CSV to line in powershell 7 32
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

813 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

16 Experts available now in Live!

Get 1:1 Help Now