I've got a scenario where I need to allow a user to enter a begin and end date upon clicking on a control page button with what I assume is some sort of Server Action . Those dates would in turn be passed to an external script for generating plots. I'm already generating a variety of plots for fixed time ranges (last hour, last 12 hours, last 24 hours... last 7 days) that are viewable in dedicated control pages, but I need to extend this to a custom date range based on the user's request.
Any ideas on how I'd go about this? Ideally, I'd be able to validate the dates through some sort of date widget in what I assume would be my own custom HTML and then possibly storing that into Indigo variables for access by a linked external script running within the Indigo Plugin Host environment, or passing them as arguments to the external script. I don't have a technical reason for running my scripts in the IPH environment other than to possibly store the dates as Indigo variables as all of the data I'm plotting is stored in a postgres database.
I'm open to any and all suggestions.
Thanks,
Blaine