Page 1 of 1

how to set default value for custom field checkbox?

Posted: 08 Aug 2008, 08:47
by mkornatzki
in mantis 1.2.0.a2 i tried to define a custom field checkbox as checked.
if i define nothing in possible values then it is not possible (for me).

if i set "true" in possible values then i can set "true" or "false" as default value and this works but i get an additional caption "true" in front of the checkbox.

How can i make a checkbox that is checked as default?

thanks in advance
michael

Re: how to set default value for custom field checkbox?

Posted: 08 Aug 2008, 08:51
by mkornatzki
it seems that i didn't have to set the default value. then the checkbox is checked. if i set any value as default value the ckeckbox is unckecked

Re: how to set default value for custom field checkbox?

Posted: 24 Sep 2008, 06:47
by deboutv
Checkbox fields is not an ON/OFF (TRUE/FALSE) field, it is like the list field but presented with checkbox...

Re: how to set default value for custom field checkbox?

Posted: 18 Jul 2017, 09:18
by Sara
I've solved the problem setting "Yes" as possible values and nothing as Default values. It works fine.