How to set a default date to date field in Config Item?

Moderator: crythias

Locked
Sophy978
Znuny newbie
Posts: 83
Joined: 06 Jul 2012, 22:01
Znuny Version: 3.1.5
Real Name: Sophy

How to set a default date to date field in Config Item?

Post by Sophy978 »

Hello, I am using a date field for one of my Config class, please see example below. Is there a way to set the default date to null or something equivalent like 00/00/000 (mm/dd/yyyy)?

{
Key => 'ContractStartDate',
Name => 'Contract Start Date',
Searchable => 1,
Input => {
Type => 'Date',

},
},
Locked