Loading...
 
Skip to main content

PluginTracker: Not implementing 'blank' date default for date/time fields which aren't included on the tracker form

Status
Closed
Subject
PluginTracker: Not implementing 'blank' date default for date/time fields which aren't included on the tracker form
Version
6.x
Category
  • Consistency
Feature
Date and Time
Trackers
Resolution status
Fixed or Solved
Submitted by
moochingwombat
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Example: I've created a created including two date fields, Date Started and Date Closed.

Both are date and time data type, with options d,2008,,blank

I've also created a wiki page and added a tracker new item form with PluginTracker, configured to display only Date Started. When saving the new item, the visible field (Date Started) inserts a blank as expected (from the values in the controls), but the hidden field (Date Closed) inserts today's date. If Date Closed is made visible, it starts defaulting to blank as well. So hidden fields appear to be behaving as if option 'empty' rather than option 'blank', or not picking up the option at all.

Solution
A work-around is to make these fields visible on the form, but this could lead to forms being cluttered with irrelevant controls.
Workaround
Importance
2
Priority
10
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3924
Created
Thursday 23 June, 2011 15:50:44 UTC
by moochingwombat
LastModif
Wednesday 01 July, 2026 21:39:14 UTC


Show PHP error messages