Forum Academy Marketplace Showcase Pricing Features

Date/Time Picker toggle

Hi,

I’ve got a regular date/time picker which I want to toggle the input type between “Date” & “Date & Time” - depending on a selection in a drop down field. Is this possible, I can’t find a technique?

Cheers

Neil

You can use 2 separate pickers and add their visibility conditions based on dropdown value. And on saving their value put the condition if picker A isn’t empty use picker A value else pick picker B value. Put both pickers in a group and on change of dropdown value reset that group

Thank you - appreciate the response. This was my fall back method, I was hoping it might be simpler. I’ve got so many fields that toggle on and off through the page, I was hoping to not have to add another - ha ha.

I’ll stick with this method for now, hopefully they’ll enhance the conditions to include this in the future.