Help

Re: Possible to prompt for date/time selector?

979 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Luke_McFadden
5 - Automation Enthusiast
5 - Automation Enthusiast

New to script blocks. I’m wondering if it is possible to present a date/time selector when the script runs? I’m using a Button to call a webhook script, and would like to prompt the user for a time.

Screen Shot 2020-08-19 at 2.45.24 PM

Currently I have a time selection field next to the button, but would prefer a nice popup on execution. :grinning_face_with_big_eyes:

2 Replies 2
jowan_qupty
6 - Interface Innovator
6 - Interface Innovator

I don’t think it’s possible, but if it were, i would have a lot of use cases for it in my scripts!

Currently, scripting block does not have a way to directly input a date/time. You can input a date/time string and then parse it. I recommend including the expected format of the date/time string in your prompt and including error checking in case the user inputs an invalid string.