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
how to set default value for custom field checkbox?
Moderators: Developer, Contributor
-
- Posts: 8
- Joined: 10 Nov 2005, 19:36
-
- Posts: 8
- Joined: 10 Nov 2005, 19:36
Re: how to set default value for custom field checkbox?
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?
Checkbox fields is not an ON/OFF (TRUE/FALSE) field, it is like the list field but presented with checkbox...
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Re: how to set default value for custom field checkbox?
I've solved the problem setting "Yes" as possible values and nothing as Default values. It works fine.