Search code examples
datedrupal-7drupal-fields

Hiding Time Field if Date is Expired


My time field shows after an expired date. My client wants to have the time hidden after the expired date. But still have the date show. Is this possible?


Solution

  • You need to write a simple code that checks whether date is expired or not if it is expired then using jquery or css u can add display none property inline for hiding the time field .