The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Checkbox probleme - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Checkbox probleme (/showthread.php?tid=473)



Checkbox probleme - AeroStar - Jan 31st, 2010

hi !

I've just tried form tools, and looks very good.
I have tried with a form with 2 field, name and email, and 2 checkbox.
It's a question, and you can choice 1 or 2 of the checkbox.

But in the formtools administration, i can see the ID, name, email, and date and IP. but no column of checkbox.

I have try to see in this forum a message like me, but or i havent see it, perhaps ! sorry if this is the second post.

Bt if anyone can help, it could be great !

My version, is 2.0.0,

thanks a lot.


RE: Checkbox probleme - Ben - Jan 31st, 2010

Hi Aerostar,

Welcome to the forums! :-)

I think I understand: the main submission listing page (the page that lists all submissions in a table format) only has a few columns by default: I think 4 or maybe 5. You can customize what columns appear by going to Edit Form -> Views tab -> Edit View. A "View" is just a way of viewing your submission information. By default, there's a single View called "All submissions". Edit that, then on the following page, click on the "Fields" subtab. There, click check "column" checkbox next to the field that you want added and save.

Hope this helps!

- Ben


RE: Checkbox probleme - AeroStar - Feb 1st, 2010

hi,

ok, thanks to your fast answer !

But the probleme, is that the checkbox, are not checked. Because i have do what you said, and it's ok, but the probleme is the checkbox are not checked, and i can, if i want check it manually.

Curious ? Smile


RE: Checkbox probleme - axel - Feb 1st, 2010

Hey AeroStar,

PHP is getting confused by the submission. It dosen't quite get that you are receiving multiple fields from that.

The way around it is in the Form it self.

On your checkboxes, add a [] to the end of the name.

Example:
Code:
<input type="checkbox" name="checkbox[]" value="option1"  />
<input type="checkbox" name="checkbox[]" value="option2"  />

That problem used to drive me crazy! Big Grin


RE: Checkbox probleme - AeroStar - Feb 2nd, 2010

!!!
dont'works !

and more, with the [] it doesn't works the smart field!!!

I'm crazy !!!!!


RE: Checkbox probleme - Ben - Feb 2nd, 2010

Hey AeroStar,

Yes, Axel's quite right about the [] characters - but make sure you only add them to the end of the name if you have more than one checkbox with the same name attribute value. Otherwise the "[]" bit isn't necessary.

Another thing you could check is this. Go to your Edit Form -> Fields tab -> click the "Options" link for the checkbox field. On that page, see what Field Option Group is being used and edit it. Do the VALUES of the checkbox field correspond to the value="" attribute value(s) of your checkbox field? If not, they should!

- Ben