Default date/time picker to current date/time

Hi Bubblerati!

I have a form (see below) that allows the user to collect appointment data, but I’m having a bit of trouble on implementing some added functionality.

I would like to impement the following: If the user clicks the ASAP checkbox (chkAsap), and the result is Yes, I would like the Start Time’s date/time picker (dtpStartTime) to default to the current date/time. I have been trying to do this with groups and custom states, but I can’t seem to get it to work properly.

Any advice would be appreciated.

Note: The date/time picker is the following plugin.

Thanks,

I believe this might be a problem with the plugin. See the demo below. When I set a custom state somewhere and the checkbox changes the custom state to current date/time, the builtin datetimepicker (on the left) updates its value but the plugin (on the right) doesn’t.
chrome_OVX8jzbrix

See the workflow:

I couldn’t make the pluging datetimepicker look like yours, or maybe didn’t try hard enough. Are you sure you are using this plugin :slight_smile:

Hey Huseyin,

Thanks for this. I had an slight suspicion that it may be the plugin, but I’m also not incredibly adept at Bubble as of yet. I’ll most likely revert to the native Bubble date/time picker instead of the plugin for now.

Thanks again for the help!

This topic was automatically closed after 70 days. New replies are no longer allowed.