The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Can't get data from radios/chbx, text is ok - 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: Can't get data from radios/chbx, text is ok (/showthread.php?tid=899)



Can't get data from radios/chbx, text is ok - seiceach - Oct 27th, 2010

Heya-

this is my first form ever so I'm sorry for the question...

Everything seems to work fine, I'm able to collect data from "inputs type=text" but nothing is comming from radios and checkboxes (like it was not filled). Select-Option is working as well.

Any suggestions?

Code:
<fieldset>
<input type="radio" name="test" value="first"/> first
<input type="radio" name="test" value="second"/> second
</fieldset>

= NO RESULT - I need to know if fist or second was selected.

<fieldset>
<input  name="test2" type="text"/></p>
</fieldset>

= CORRECT RESULT - I can se the input.

Update: I can see the results when I click EDIT under submisions but when I click Display in HTML/Download in CSV/XLM... only text boxes are shown, not checkboxex a radios. Strange (to me).


RE: Can't get data from radios/chbx, text is ok - Ben - Oct 28th, 2010

Hi Seiceach,

It sounds like your Field Option Group for the radio fields doesn't have a display value.

Try this:
1. Go to your Edit Form -> Fields tab.
2. Find the "test" field and click the Options link.
3. On that page, there should be a value in the Field Option Group setting. Click EDIT.
4. That'll take you to the Field Options Group page which shows you all the values and display values in the group.

Make sure that the two values "first" and "second" have appropriate display values (and not just blank).

Hope this helps!

- Ben


RE: Can't get data from radios/chbx, text is ok - seiceach - Oct 29th, 2010

Thank you so much Ben! You saved me :-)

- Display values were blank.

Great, great tools! Smile