Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Emailing results of Captivate questions

Posted on 2008-10-14
1
Medium Priority
?
518 Views
Last Modified: 2013-11-12
Hi,
I am creating a tutorial in Captivate, and we'd like a copy of the answers given to questions throughout the tutorial--when I try to enable this feature, it doesn't seem to be working.  Do I need to change this code somehow?  Thanks!
<script src="standard.js" type="text/javascript"></script>
<script type="text/javascript">
<!-- Begin
var gstrEmailTo = "";
var gstrEmailSubject = "";
var gstrEmailBody = "";
var myVar = 0;
 
function appendEmailBody(strBody)
{
	var temp_str = strBody;
	while(temp_str.indexOf("|") > -1)
	{
		temp_str = temp_str.substr(0,temp_str.indexOf("|")) + "\r" + temp_str.substr(temp_str.indexOf("|") + 1)
	}
	gstrEmailBody += temp_str + "\r";
}
 
function sendMail()
{
	document.emailForm.action = 'mailto:' + gstrEmailTo + '?subject=' + gstrEmailSubject
	document.emailForm.elements["Results"].value = "\r" + gstrEmailBody;
	document.emailForm.submit();
}
 
function padMail(strAddress, strSubject, strBody)
{
	gstrEmailTo = strAddress;
	gstrEmailSubject = strSubject;
	var temp_str = strBody;
	while(temp_str.indexOf("|") > -1)
	{
		temp_str = temp_str.substr(0,temp_str.indexOf("|")) + "\r" + temp_str.substr(temp_str.indexOf("|") + 1)
	}
	gstrEmailBody = temp_str + "\r";
}
// End -->
</script>
 
<form name="emailForm" action = "" method="POST" enctype="text/plain">
<input name="Results" type="hidden">
</form>

Open in new window

0
Comment
Question by:jianxin9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
jianxin9 earned 0 total points
ID: 22816358
close
0

Featured Post

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question