Aug 19, 2020 12:48 AM
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.
Currently I have a time selection field next to the button, but would prefer a nice popup on execution. :grinning_face_with_big_eyes:
Aug 19, 2020 04:54 AM
I don’t think it’s possible, but if it were, i would have a lot of use cases for it in my scripts!
Aug 19, 2020 06:49 AM
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.