Solved

how to pass checkbox in post in ics

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
.csv files 5 78
Google  (Get  Users Email) 2 65
Convert MSI to MSM 1 28
how to update exe applicatio from internet ? 6 39
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
This article will show, step by step, how to integrate R code into a R Sweave document
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

706 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

19 Experts available now in Live!

Get 1:1 Help Now