Here is the code I’m working with
[call-date:: <% tp.system.prompt("Date", tp.date.now("YYYY-MM-DD")) %>] - <% tp.system.suggester(["Main", "Backup", "Main GV", "Backup GV"], ["[called:: (602)295-1875]", "[called:: (602) 295-7930]", "[called:: <U+202A>(602) 903-4748<U+202C>]","[called:: (xxx) xxx-xxxx]"]) %> ] - [call-time:: <% tp.system.prompt("Time", "") %>] - [callerID:: <% callerID = await tp.system.prompt("Caller ID", "")%>] [[<% callerID %>]] - <% tp.system.suggester(["Inbound", "Outbound"], ["[call-direction:: Inbound]","[call-direction:: Outbound]"]) %> - <% atds = await tp.system.suggester(["ATDS True", "ATDS FALSE"], ["[ATDS:: TRUE]", "[ATDS:: FALSE]"])%> - <% tp.system.suggester(["Call", "Voicemail", "Text Message"], ["[call-type:: Call]", "[call-type:: Voice Mail]", "[call-type:: Text]"]) %> - <% tp.system.suggester(["Human", "Pre-Recorded/Automated"], ["[pre-recorded:: FALSE]", "[pre-recorded:: TRUE]"]) %> - notes - <% tp.system.suggester(["Life Insurance", "Medicare", "Health Insurance", "Solar", "Legal-Auto", "Legal-Camp Legune","Vacation", "Other"], ["[campaign:: Life Insurance]", "[campaign:: Medicare]", "[campaign:: Health Insurance]", "[campaign:: Solar]", "[campaign:: Legal-Auto]", "[campaign:: Legal-Camp Legune]","[campaign:: Vacation]","[campaign:: Other]"]) %> [compensatable:: TRUE]
Question 1:
When I run the script, some of the prompts come up in different windows, some of them com up in the same window sequentially, and they pop up in different places on the screen, and not in the order I would expect.
Can you see any reason why that happens? Is there anyway to control the order in which they appear?
Question 2:
Does templater support if statements? it would be nice to have different selections based on previous selections.