Solved

how to pass checkbox in post in ics

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi Yen format 3 45
oracle 11g 23 106
Tvertscrollbox like a whatsapp layout 5 34
Powershell script to compare two directory content difference only ? 5 36
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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…

809 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