CryptoBot 0 Posted August 29, 2019 Report Share Posted August 29, 2019 Hello fellow uBotters, My bot creates a settings file which is saved in the same root folder as the bot. One of the settings in this file is suppose to check the checkbox when I read the file and import all user-defined settings before the bot starts working. The variable that handles this checkbox value is being populated correctly, but I want the checkbox to be checked from the UI as well. I am using the UI HTML Panel. Any thoughts you could share? Thanks! Quote Link to post Share on other sites
HelloInsomnia 1103 Posted August 31, 2019 Report Share Posted August 31, 2019 Here's how you can have a checkbox that can be checked from UI or set from a variable ui html panel("Married? <input type=\"checkbox\" variable=\"#isMarried\" fillwith=\"checked\">",100) comment("read file") set(#isMarried,"true","Global") 1 Quote Link to post Share on other sites
CryptoBot 0 Posted September 1, 2019 Author Report Share Posted September 1, 2019 thank you Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.