I have an channel form where guest can enter an entry date and expiration date. Which for examples is save in the entry as:
Entry date 5/7/2020 12:00 AM
Expiration date 5/10/2020 12:00 AM
I would like to have the default time for the expiration date to be 11:59PM, How do I do this? Can i do it in form or is there a config override for this.
Many Thanks
Just to confirm, your looking to set just the time (not the date as well)? I would take a peek at the following. My gut reaction is that you may have to do this after a user selects an expiration date via JS.
https://docs.expressionengine.com/latest/channels/channel-form/inputs.html#expiration-date
Yeah, unfortunately I believe you’ll have to do that with JS. I could see us adding this to the core though. Any chance you would be willing to open a feature request?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.