Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

Possible to prompt for date/time selector?

Topic Labels: Scripting extentions
950 2
Showing results for 
Search instead for 
Did you mean: 

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

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.