Typeitin within Typeitin

Questions, comments, and suggestions related to Typeitin.
Post Reply
Nate
Posts: 1
Joined: Tue Sep 07, 2021 7:06 pm

Typeitin within Typeitin

Post by Nate » Tue Dec 07, 2021 12:26 pm

How do I select another typeitin to run within another typeitin. I have a form letter typeitin that generates a contact letter to a customer. Within that I want to enter my office hours for their timezone. I have individual typeitin's set up for each of the 4 main timezones and I want to have a prompt at the beginning to input the desired typeitin at that point in the letter.

Thanks in Advance!

Wavget
Site Admin
Posts: 91
Joined: Wed Jan 16, 2019 4:32 pm

Re: Typeitin within Typeitin

Post by Wavget » Wed Dec 08, 2021 4:45 pm

You can use the Variable prompt to ask for user input.

{Var1 =?Time Zone? E/C/M/P}

The response, e, c, m, or p, will be stored in variable #1.

The time zone is
{If (Var1=e) [Eastern Standard Time]}
{If (Var1=c) [Central Standard Time]}
{If (Var1=m) [Mountain Standard Time]}
{If (Var1=p) [Pacific Standard Time]}
{Enter}


Four if statements are used to type the information based on the user input.

This is the complete code for the test button:
{Var1 =?Time Zone? E/C/M/P}The time zone is {If (Var1=e) [Eastern Standard Time]}{If (Var1=c) [Central Standard Time]}{If (Var1=m) [Mountain Standard Time]}{If (Var1=p) [Pacific Standard Time]}{Enter}

Post Reply