P0s3id0n 90 Posted April 4, 2012 Report Share Posted April 4, 2012 I use this <input type="checkbox" name="name" variable="#variable" fillwith="checked"> but some how is not working. Ok let me explain. It does work but if the user checks it and then hit runs it gets unchecked automatically for NO reason and the the user has to check it again. Can somebody explain me how to force it to stay checked when the user checks it the first time? Thanks in advance Regards,P0s3id0n Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 4, 2012 Report Share Posted April 4, 2012 try thisnamed same as variable, and added id attribute. ui html panel("<input type=\"checkbox\" name=\"variable\" id=\"variable\" variable=\"#variable\" fillwith=\"checked\">", 50) Quote Link to post Share on other sites
P0s3id0n 90 Posted April 4, 2012 Author Report Share Posted April 4, 2012 Thanks for the help TJ but unfortunately that didn't fixed the problem. At soon I hit run the checkbox magically unchecks itself. Its just weird Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 4, 2012 Report Share Posted April 4, 2012 Thanks for the help TJ but unfortunately that didn't fixed the problem. At soon I hit run the checkbox magically unchecks itself. Its just weird then you have more then just that checkbox in your html and its something else in there causing it. let me know your entire ui html to debug it.as the snippet i posted by itself works Quote Link to post Share on other sites
Legend 181 Posted April 5, 2012 Report Share Posted April 5, 2012 Either another UI variable has the same attribute or it is (re)setting itself in your UBot code... I don't think there are any other explanations... except for the UBot gremlins of course... http://ubotstudio.com/forum/public/style_emoticons/default/rolleyes.gif Quote Link to post Share on other sites
winincome 3 Posted April 22, 2012 Report Share Posted April 22, 2012 think I've stumbled over the same issue. seems to be that if you run whilst in code view it clears checkboxes (unless you have the checked attribute. But in node view it keeps whatever the state was. Can anyone confirm that they get the same behaviour? version 4.1.2 btw 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.