Skip to main content
Answer

How to set checkboxes with only 2 states

  • May 4, 2020
  • 2 replies
  • 91 views

Blommetje
Forum|alt.badge.img+13

Hi,

I’ve read in the manual somewhere it must be possible to only use the 

on/off status for a checkbox. However, I don’t see how. 

I’ve tried setting the domain as a bit, set just 2 elements, but it keeps returning the ‘indeterminate’  option (squared box). 

Anyone can tell me how to set this? Thanks!  

Best answer by Erik Brink

Hi Blommetje,

It depends on whether or not the column is mandatory. When not mandatory the intermediate value represents the null value from the database.

When the user didn't choose a value yet we use this check state to force users to make their own choice on mandatory checkboxes.

Hope this helps you?

Regards, Erik

This topic has been closed for replies.

2 replies

Erik Brink
Moderator
Forum|alt.badge.img+5
  • Moderator
  • Answer
  • May 4, 2020

Hi Blommetje,

It depends on whether or not the column is mandatory. When not mandatory the intermediate value represents the null value from the database.

When the user didn't choose a value yet we use this check state to force users to make their own choice on mandatory checkboxes.

Hope this helps you?

Regards, Erik


Blommetje
Forum|alt.badge.img+13
  • Author
  • Partner
  • May 4, 2020

Works.  Thanks.