Skip to main content

Possible to prompt for date/time selector?

  • August 19, 2020
  • 2 replies
  • 27 views

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:

2 replies

jowan_qupty
Forum|alt.badge.img+11
  • Known Participant
  • 25 replies
  • August 19, 2020

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


kuovonne
Forum|alt.badge.img+29
  • Brainy
  • 6009 replies
  • August 19, 2020

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.