Subtotal: $17,583.00
We have a Live Form on a website that retrieves data (via SQL statement) to populate a textbox with a Sales Rep's email (i.e. - token is SalesRep).
I want to use the Action > Communication > Send Email, and populate the "To Email" with the Sales Rep's email.
Using the token, [SalesRep], would not allow this to happen.
It would be great to have a way to send an email to an address retrieved via SQL Statement, that populates a textbox.
I am able to do this using the Javascript action:
Make 2 fields:
Add action: changes the DeptEmail field with the value from the Department dropdown
Add action: send the email to the DeptEmail
In the steps above I could not post this while using the correct token syntax with the brackets around the token, so make sure you add the (tokens) using brackets []. I don't have anything setup to bind the data using an SQL query, but maybe you can apply something here to get that working.