This topic contains 6 reply and 3 voices, and was last updated by Sekander Badsha 5 years, 2 months ago
Viewing 6 Posts - 1 through 6 (of 6 total)
Author Posts
August 16, 2014 at 5:49 am 25234
Sekander Badsha Hello, When I create a single checkbox, it is created with name="myName[]". How can we create a checkbox that has a simple name instead of an array? Something like a checkbox just with name="myName". I have all other plugins deactivated and still the same thing. Could you help please? Thank you!
August 17, 2014 at 3:14 am 25303
karlos karlos

Any thought? Am I missing anything?

August 17, 2014 at 3:59 am 25304
Tareq Hasan Tareq Hasan

Thats the way this plugin works. It has to deal with mutliple checkboxes, so it has to be an array. What’s your actual problem?

August 17, 2014 at 4:02 am 25305
karlos karlos

I need a single checkbox with name “myName”, not a multiple checkbox. So I need something like

input type=”checkbox” name=”myName” <-- not an array (not name="myName[]" but name="myName"). How can I accomplish that? Please help.

August 17, 2014 at 4:57 am 25315
Tareq Hasan Tareq Hasan

Sorry you can’t by default. If you really want this, you’ve to use the action hook field as shown here.

August 17, 2014 at 10:52 pm 25371
karlos karlos

I see. I find it rather strange since I believe single checkboxes (name=”checboxName”) are very used and common as well. Would you guys include in the future an option to add single checkboxes and not only multiple checkboxes?

It could be defaulted to a single checkbox if user creates a checkbox with only one value, and created as multiple if user decides to add more than one value.

I would be awaiting for this feature update.

Thanks!

August 20, 2014 at 6:41 pm 25587
Sekander Badsha Sekander Badsha

Hello Karlos,
I will definitely pass this idea to the developer team. But can’t assure about you when will this be applied. So for the time being, you’ll have to use the solution above.

Viewing 6 Posts - 1 through 6 (of 6 total)