Guest
03 Jul 2013 09:46

Hi,

Do boolean fields default to False if a state is not selected when a user is adding a record?

With other field types, say a dropdown, if no selection is made, the entries do not appear within an the records list of fields.

It seem that if a boolean field is used and neither True of False is selected when the record is added then it defaults to False.

Is there a way to change this please? i.e. if neither true nor false is selected then don't show the field on the record.

Thanks.

D.

Last Modified: 02 Mar 2014


Konstantin
Total posts: 1,113
03 Jul 2013 22:46

Is there a way to change this please?

No, there is no way to change, you can use 'radio' field to choose default value.

Is there a way to change this please?

i.e. if neither true nor false is selected then don't show the field on the record.

also field 'radio', if no default value is selected.


Sergey
Total posts: 13,748
04 Jul 2013 03:51

I am not sure but by default boolean field is not selected at all. Only after choice it saves 1 or -1. But 0 is nothing.

Although there is parameters there is one how to calculate false values. Only those that was saved explicitly with -1 or together with those that has no value or equal 0.

Try to change that parameter.


Guest
14 Jul 2013 09:41

Hi

I also am seeing this.

If no value is selected then only FALSE is shown all the time - I really want the field not to be shown at all if nothing is selected (like other fields).

The setting for the Boolean field FALSE value mode : Articles with False Value

Thanks.

Bob.


Sergey
Total posts: 13,748
15 Jul 2013 02:42

Fixed in next update.

Powered by Cobalt