• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

HTML FORMS experts needed (wimps need not apply)

IaPuP

Golden Member
I'm trying to input a series of INPUT CHECKBOXES as a single item.

I've seen it done on other pages.

For this example, there are 6 checkboxes.

I have seen the browser submit these as a single variable.

For example, I check the first 4 and then leave the last 2 unchecked, the HTTP GET variable is set like this:

?checkbox=111100

If the first and last checkboxes are checked and the remainder are not you get

?checkbox=100001

I know it's possible. I've seen it done on several different browsers without any scripting- I dug through the HTML 3.2 and 4.0 specs for an hour today and couldn't find anything

I want to be able to submit a form via HTTP GET that can handle an arbitrarily large number of checkboxes. I don't want to have to deal wth fetching 30 different variables and coming up with unique names for all of them.

Any suggestions?

Thanks,
Eric
 
I wouldn't of though that was possible without any scripting. In your example, are you sure the value of ?checkbox isn't parsed and generated by a script before submission - perhaps theres a little javascript or something to build up the variable???

If not I'd sure like to know how to do it. I guess I must be a wimp 😱 🙁
 
After spending several hours poking around, I'm not entirely sure it's possible without a bit of javascript either.

I recall opening the source for that page and noticing a tag something like PANEL or PANE . Sounds a lot like Java to me.

hmpf I was hoping there was some magical HTML that could do it for me. Thanks for the help.

Eric
 
Back
Top