Solved

Getting results for questions answered in a Captivate project

Posted on 2008-10-30
3
579 Views
Last Modified: 2012-06-22
How does code need to be edited in order to get results from questions in a Captivate project?  Thanks!  Currently, I'm not receiving anything.
<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
  • 2
3 Comments
 
LVL 70

Expert Comment

by:Merete
ID: 22855906
Hi jianxin9,  the zone you chose Multimedia Applications is kind of a general zone may not be the best choice for your question.
may I suggest you do either of these
 use the Request Attention. That'll ping attention to a moderator who will send out requests to specialised experts who have volunteered to assist with questions not getting any assistance.
or
 delete it and repost to 3 zones since you are a premium member you can do that.
suggest these zones
http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Controls/
http://www.experts-exchange.com/Software/Photos_Graphics/Illustration/Adobe_Illustrator/

regards Merete
0
 

Accepted Solution

by:
jianxin9 earned 0 total points
ID: 22867919
thanks so much!
0
 
LVL 70

Expert Comment

by:Merete
ID: 22912012
Good Luck ;P
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
black magic design 1 129
Cancelling Pandora on iPhone 8 63
How to create a youtube account 33 140
How to extract back songs to MP3 files 19 99
You may or may not be familiar with Kodi (http://www.kodi.tv) the open source software media player and entertainment hub that can be installed on Linux, OSX, Windows, iOS, and Android.  Kodi which started off as X-Box Media Center (XBMC) many years…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
Viewers will learn the basics of creating custom device Racks in Ableton Live. Place instrument(s) and effects onto a track, and select them all by holding the Shift key and clicking on the device title bars: Group them by typing Command-G (Ctrl-G…
Viewers will learn how to use LFOs to modulate the sound of their Sampler instruments. Click the Modulation tab in Sampler: Choose one (or more) of the three available LFOs, and click the respective button to turn it on: Select a waveform, an LF…

809 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