Universal Robots Forum

Getting status on a checkbox

I got a checkbox

<input type="checkbox" id="autoSetup"/>

But I am having some trouble getting it’s status. I thought I could use something like .isEnabled() but that does not seem to work, what is the proper way to check if it is enabled or disabled?

Also what is the right type for it? Right now I use TextField, but that does not sound like the right one.

private InputTextField autoSetup;

i am using the type InputCheckBox with methods isSelected and setSelected and it works fine :slight_smile:

Ah yes, I had forgot to import it first, so it would not recognize InputCheckBox.