Need help with JS to send an email from a course that includes variables from the course
Hello all. I have a course where we ask participants to enter their first name, last name, student id and email address into text variables within the course. What I want to happen is to have an email sent to an administrator here at the college when they click the submit button after entering the variables. I would like the email address to populate in the to field, the subject line to read: Online NSO Started and the body of the email to read:
First Name Variable
Last Name Variable
Student ID Variable
Email Address Variable
has attempted the online version of NSO.
I've read several other threads on this topic, but I'm unclear if I need to create additional variables within the course to make the script execute, and also what code I actually need.
Any help would be greatly appreciated.