The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Checkboxes - only the last checkbox is collected - 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: Checkboxes - only the last checkbox is collected (/showthread.php?tid=905) |
Checkboxes - only the last checkbox is collected - seiceach - Oct 29th, 2010 Hi- another beginner question: I have multiple fieldsets with checkboxes but I can see only the last checked value in FormTools. Code: <input value="red" type="checkbox" name="test" /> red If I check all three possibilities, only "blue" appears in FT (Submissions/Vies/Edit), if I check red and green, I get green, and so on - only the last value comes through. Field Option Group seems to be ok now... Any suggestions? Thank you RE: Checkboxes - only the last checkbox is collected - Ben - Oct 31st, 2010 Heya, Did you figure this one out? If not, change your markup to this: Code: <input value="red" type="checkbox" name="test[]" /> red PHP requires those square brackets at the end of the name attributes for checkboxes. They let the server know that there can be multiple values sent for that field. Good luck! Ben RE: Checkboxes - only the last checkbox is collected - michatmaster7 - Dec 31st, 2010 I think I love this forum. RE: Checkboxes - only the last checkbox is collected - Desy231 - Dec 4th, 2017 So much useful information. I am very glad that I joined you! RE: Checkboxes - only the last checkbox is collected - Degni - Jan 10th, 2021 Es ist wirklich eine sehr schreckliche Situation. Ich rate Ihnen, diese Pillen https://mannapotheke.de/kamagra/ zu versuchen , da Sie mir immer geholfen haben, rate ich Ihnen, diesen Ort zu versuchen, da es mir hilft, diese Art von Problem zu lösen |