The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Please help!! (easy) - 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: Please help!! (easy) (/showthread.php?tid=971) |
Please help!! (easy) - camaleon911 - Dec 10th, 2010 Hi guys! i have a little problem. I have a field that cant work. the field name its SEX. and in the form can chosse between male and female (radio button) but in the admin panel always appear in blank. what can i do for fixed? thanks RE: Please help!! (easy) - Hannes - Dec 11th, 2010 Hey Camaleon: did you create a field option group for this field? more information. The "field value" should match the value submitted by the form. With "field" sex and "field values" female and male the form should look like this: PHP Code: <input type="radio" class="radio" name="sex" id="female" value="female" <?php if (@$fields['sex'] == "female") echo "checked"; ?> /> Good luck. Cheers, Hannes |