Help with scripting and user inputs

Share your favorite FastKeys commands
Posts: 5
Joined: Fri Mar 10, 2017 7:43 pm

Help with scripting and user inputs

PostPosted by Jon » Fri Mar 17, 2017 7:29 pm

Hello all,
I am trying to learn how to put some more strings together that will allow me to make some processes for new employees super easy.

I have created this template that is set up as a "send"


Code: Select all
<b>INSPECTION SCHEDULED WITH CIS CONTRACTOR <b/>%A_Time%
Spoke with: %INPUT_SPOKE_WITH_insureds_name%
Inspection Date and Time: COMMAND FOR DATE AND TIME POP-UP > outputs (MM/DD/YY, between HH:MM and HH:MM)
Fee:$ %INPUT_INSPECTION_COST%


You will notice that my "Inspection Date" line is not correctly coded, that is where I am looking for some help.
I want to have a popup calendar and time selector that they can just click on the date and time ranges and it will output the selections in the format in parenthesis.
If this is something that is easier handled as a command or script, let me know, but please give me some guidance. I am OK with converting the other user input sections to the same script.

Site Admin
User avatar
Posts: 642
Joined: Sat Mar 02, 2013 9:02 pm

Re: Help with scripting and user inputs

PostPosted by Marko » Sat Mar 18, 2017 11:23 am

The easiest would be to make separate Select controls for date and time, like:
Code: Select all
Inspection Date and Time: %SELECT_InspectionDate%, between %SELECT_Time1% and %SELECT_Time2%

For InspectionDate select Type: Date, Format: ShortDate
For Time1 and Time2 select Type: DropDown and manually enter available times for selection.

We may add additional Time selection formats in one of the next releases.

Return to User Commands and Scripts

Who is online

Users browsing this forum: No registered users and 0 guests