"True/False" field , set default value is true, why in form layout it isn't be checked?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2019 06:05 AM
hi experts,
I set "Active" field default value is true, why new a record , it isn't be checked?
- Labels:
-
Instance Configuration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2021 02:13 AM
Hi,
please also check the dictionary overrides:
Some Tables are Child-Tables of their parents (like Task -> Incident).
sometimes the parent tale overrides values of the child table fields.
How to check?
Please open the configuration for your table ("System Definitions" -> "tables").
Open the table your trouble-fild is on. After that open the dictionary entry of your true/false field.
There please check if (in related lists) you can see if a "dictionary override" exits which overrides the default value. If so - please check the base table (for example "task") and change the default value there!
I hope this helped you - if so, please mark as correct answer. Tank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2021 02:39 PM
In case anyone has a similar issue to this like I did today, this might be the culprit.
If you create a new record from a list that has the filter condition active=false, it will always set active to false on the new form regardless of the default value, and vice versa.
In my case, it was the table awa_service_channel which has the default as active false, and the entire form also happens to break if you open a new record from a list where active=true!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2024 03:14 AM
Use this code in the Default value, not only you need the value, but also the "javascript"
javascript: current.u_active = true;