Automatically Send email with JS including variable references in the email body
Apr 10, 2017
Hi All,
I've searched a few threads but can't find what I'm looking for, hopefully someone will be able to advise?
I want SL to send an email when the user presses a 'Submit' button.
Subject box to be: Store Compliance Visit (and include the store number variable)
In the body of the email I want it to reference the answer to the questions ("Yes"/"No") the user has selected. The variables for this is 'Q1Answer', 'Q2Anser'...and so on.
Email body example:
Question 1: Yes
Question 2: No
Question 3: Yes
Question 4: Yes
Question 5: No
Then when the user clicks submit, the JS code runs, the email automatically sends to a pre-determined email address within the JS code.
Is this possible? I've attached a basic screenshot if that helps?
Thanks
James
2 Replies
Learning Management System (LMS) systems can be used to track individual question/responses and SL works very well with quite a few popular LMS. If you're needing to essentially reinvent this functionality, you'll need quite a bit of advanced javascript knowledge, a back-end web server and quite a bit of development time.
Cheers guys.
Yes Matthew I saw that yesterday, really helpful too.
This discussion is closed. You can start a new discussion or contact Articulate Support.