How do I hide a checkbox?

mbublitz
Kilo Contributor

How do I hide a checkbox item in a catalog task?

I'm using: g_form.setVisible('variable', false);

It works fine if the variable type is a "Yes/No", but not if the Variable type is a checkbox which looks much cleaner on the form.

2 REPLIES 2

rburgering
Kilo Contributor

Try: setDisplay('field',true);

That's what we use all the time....


That did the trick! Thanks!