I am having the hardest time figuring out a stupid checkbox
I can't find ANY info on this.
This version doesn't "stick" in config options when I update settings(check or uncheck the box) and then "update", the checkbox always reverts to orig setting.
This version "sticks" in config options, but when I use tag <%use_cat_dropdown%> in my page it shows '1' when the box is checked, and ARRAY(0x8404438) when it is unchecked.
All I really want is a checkbox and a way to retrieve its setting from within a template.
I have no CHECKBOX examples other than the one I created with wizard, but without any docs (that I can find),
I don't even know what the Wizards form fields expect wrt a Checkbox.
Thanks for any help
Chris
RGB World, Inc. - Software & Web Development.
rgbworld.com
I can't find ANY info on this.
This version doesn't "stick" in config options when I update settings(check or uncheck the box) and then "update", the checkbox always reverts to orig setting.
Code:
$mgr->install_options('ZipCodeSearch', [['use_cat_dropdown', '1', '', 'CHECKBOX', ['name'], ['1'], '']]);This version "sticks" in config options, but when I use tag <%use_cat_dropdown%> in my page it shows '1' when the box is checked, and ARRAY(0x8404438) when it is unchecked.
Code:
$mgr->install_options('ZipCodeSearch', [['use_cat_dropdown', '1', '', 'CHECKBOX', ['name'], ['value'], '']]);All I really want is a checkbox and a way to retrieve its setting from within a template.
I have no CHECKBOX examples other than the one I created with wizard, but without any docs (that I can find),
I don't even know what the Wizards form fields expect wrt a Checkbox.
Thanks for any help
Chris
RGB World, Inc. - Software & Web Development.
rgbworld.com