Featured Categories
-
Lectora®
Lectora® is the most trusted authoring tool in the world. Rock out your creativity! Author courses any way you like. Lectora adheres to best practices for Accessibility and Web Content Accessibility Guidelines (WCAG), offers responsive authoring for eLearning, and publishes to any LMS (Learning Management System).
-
CenarioVR®
Experience virtual reality through CenarioVR®, our training and virtual reality (VR) authoring software that allows you to create immersive learning in minutes! No coding required!
-
Rockstar Learning Platform®
Our Rockstar Learning Platform® has all the features you’ll love. Help your employees be better at their jobs, more valuable to your company, and most effective in servicing your customers.
-
The Training Arcade®
Level up your learner engagement with the Training Arcade®! The Training Arcade is a library of fun, mobile-ready, casual games that can be rapidly customized with your content to create effective gaming!
-
ELB Learning Content
Did you know that our AssetLibrary™ has over 120 million engaging, interactive, and awe-inspiring templates and assets to help you become an eLearning Rockstar®?
Adding Action To Send Email

Comments
-
Hi Rhonda,
I do this with a feedback option in one of my courses so that it sends to multiple individuals and has a default subject line. I use a RunJS on a button on the final page of the course with the following:window.location.href = "mailto:<your email address>?subject=<subject for email>&cc=<person to CC>";
If you use the JS above and copy/paste, you will need to update the quotation marks. You could even add initial body for the email using "&body=<some body text>" or a bcc "&bcc=<email address>"
The ? indicates the first parameter to add to the email and the & attaches each additional parameter.
Hope this helps! -
Hi Jason! Thanks for quick feedback.
I'm assuming you put the JS directly in the empty white box? I have a full string of it written already that I had used in a separate situation and I hadn't thought of actually putting it directly into Lectora. I'll try that see what happens. Thanks so much!
-
That's correct - you can copy and paste the text in my post into the RunJS box and replace the "<your email>" etc. without the brackets. Just make sure to re-do the quotation marks, though - if you leave them as is, it doesn't work.
If you want, I can post a page with a sample a little later so you can see how it all fits together and behaves. -
-
Not a problem! It was really just a matter of copy/pasting into a new title and removing some elements that would have borked up the page. Keep in mind that this should open the user's default email client and may throw out a warning. The warning is asking if the user wants the web page to allow access to the program. There's no way around this and is entirely dependent on the user's browser settings. You may want to consider adding that information to the page just in case.
(You get a bonus function on this page of an animated character changing poses that is not part of the default character set in Lectora.) -
Jason, the example worked like a charm! I was able to put the body text that I wanted and everything. Thank you so much for sharing that and saving me hours of trying to figure it out. I feel accomplished for today
BTW, your looping character was a cool bonus that I'll find a place for.
Darrel, thanks for your input. I'm not very familiar with PHP code and it appears that I've got this situation fixed for now but I'll keep this in mind and reach back out to you if something comes up that I want to dive into that. You guys are all lifesavers!
Categories
- 35.9K All Categories
- 110 ✫ Announcements
- 33.2K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 27 ELB Learning Content
- 27 ELB Learning Content Discussions
- 346 CenarioVR®
- 205 CenarioVR Discussions
- 141 CenarioVR Feature Requests
- 44 Rockstar Learning Platform®
- 41 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 48 ReviewLink®
- 48 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 938 All Things eLearning
- 39 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products