We have a modified sales order form with a text box in the header. The content to the customer is the main part of the text. Depending on whether the sales order is international or not, depends on the email address embedd in the text. For example, if the order is international, then the customer will be directed to email international@ourcompany.com, if not international, then sales@ourcompany.com. I’ve tried googling it, looking at Augforums and have come up short. Any help will be appreciated. My other thought is to have two different forms, one for international, one for other, but I’d rather use one if possible.
Solved
Combining text and data within the same text box
Best answer by wmatthews1877
I would like to share with the community what I came up with recommended by laura02, and dcomerford.
=’Dear Customer, …….
For faster service email’ + ‘ ‘ + IIF([SOOrder.OrderType] = ‘IO’, ‘international@ourcompany.com’, ‘sales@ourcompany.com’ + ‘ ‘ + ‘or call at the phone number listed above.’
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.