Before I post a bunch of code, is there an example of wifimanager with a DHCP checkbox? I’d like to capture the state of the checkbox and create a file with True/False. This can be read on subsequent powerups.
I see in script.js there is a test of checkbox but don’t see where the value is passed back to the program via a POST.
I have the rest of wifimanager working but not the checkbox.
I’ve done a work-around by changing from a checkbox to a text field. The user has to enter T/F rather then checking a box. Not a horrible solution but I’m still interested in how to have a checkbox be part or POST.