The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
checkboxes not working properly - 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 not working properly (/showthread.php?tid=15426) |
checkboxes not working properly - monamoves - Sep 18th, 2016 Hi, I have many checkboxes on my form that are showing up as strings in the settings. I just want the person filling out the form to be able to check more than one option on my form as I indicated in html (input type="checkbox"). What I am seeing, once the form is filled out, is nothing for those checkboxes. In the settings I have field type: checkboxes, field size: medium, sort as: string. How do I change this? I am not offered any appropriate options when I try to edit them. Many thanks! RE: checkboxes not working properly - alexh - Sep 18th, 2016 Are you using the Formbuilder module, or is this an html form? Or is it an internal form? Alex RE: checkboxes not working properly - monamoves - Sep 19th, 2016 Hi Alex! I made the form in html beforehand. I did some research and I think I'm supposed to put in brackets in the input tags like this: <input type="checkbox" name="anyevent[]" value="anyevent" class="volun" />. I'm going to try that and see if that works. Do you know if that'll make a difference? Thanks! RE: checkboxes not working properly - alexh - Sep 19th, 2016 if the checkboxes are displaying correctly on the HTML form you will then need to set them up on the backend. You will need to set up options that match the checkboxes on your HTML form. http://docs.formtools.org/userdoc2_1/?page=ft_checkboxes |