|
|
# 1 | ||
|
Member
Join Date: Dec 2006
Location: Sydney, Australia
Posts: 39
|
We have built a survey and we're using the Email Resuts (renamed to SUBMIT) to collect the results.
Is there any way to remove the FINISH button so not to confuse people? If they accidentally click on that button the results will be lost :-( THANK YOU! |
||
|
|
|
|
# 2 | ||
|
Member
Join Date: Feb 2006
Location: Woodbury, MN
Posts: 6,269
|
Hi,
Out of the box, I do not believe that you can remove the button. In a standalone QM quiz, it's used to either close the window or go to a URL. (In a quiz in AP, you have the options of going to a specific slide.) What would work for you is one button that e-mails and closes the quiz. But it doesn't exist. You can re-label the finish button but you can't remove it. Even if you remove all the label text for the button, it still shows up as a "blank button" and is clickable. So, you may have to work around it for now. Not sure this would be effective, but you could rename the email button to something like "Step 1: Email Results" and the finish button to something like "Step 2: Close Quiz". Then, in the results page, tell learners they must do both--and then hope they do. I'd consider filing an enhancement request to Articulate for their consideration: http://www.articulate.com/support/contact/feature/ Best. - Gerry |
||
|
|
|
|
# 3 | ||
|
Member
Join Date: Aug 2007
Posts: 14
|
The "Finish" button triggers a javascript function in quizmaker.html, and you can modify this function if you want to change the button's behavior.
Open quizmaker.html and search for "window.close();". You'll find two instances. One is in a function called CloseWindow(), and the other is contained within a block of code, like this: Code:
if (FF)
{
setTimeout("CloseWindow()", 100);
}
else
{
window.close();
}
Code:
if (FF)
{
setTimeout("CloseWindow()", 100);
}
else
{
CloseWindow();
}
Find the CloseWindow() function, which looks like this: Code:
function CloseWindow()
{
window.close();
}
Code:
function CloseWindow()
{
alert('Please click "Submit Results".');
}
I was unable to make it submit the email, however. There are apparently other parameters that the "email results" button sends along that are unavailable to the Finish button. -- Joe |
||
|
|
|
|
# 4 | ||
|
Moderator
![]() Join Date: Jul 2006
Location: France
Posts: 1,600
|
Excellent work, if I may so!
I know a number of people have been concerned about this 'Finish' button and even if you haven't made it disappear, you have deactivated it! I guess it is time I learnt some javascript ![]()
__________________
Dave Moxon ********************************* Product Specialist Articulate - The Global Leader in Rapid E-Learning www.articulate.com Blogs: Daveperso's eLearning Blog - Tips and tricks on using Articulate software - daveperso.com Daveperso - Le Blog Articulate En Français ! - daveperso.fr |
||
|
|
|
|
# 5 | ||
|
Moderator
![]() Join Date: Jul 2007
Location: Oklahoma
Posts: 4,858
|
Quote:
Wouldn't it be better to have individual movie files for each of the buttons? Then, have those movies loaded into the main flash file via levels. This would essentially allow us to "turn off" the buttons by simply deleting the movie file (swf). |
||
|
|
|
|
# 6 | ||
|
Member
Join Date: Feb 2006
Location: Woodbury, MN
Posts: 6,269
|
Quote:
- Gerry |
||
|
|
|
|
# 7 | ||
|
Moderator
![]() Join Date: Jul 2007
Location: Oklahoma
Posts: 4,858
|
It should be easy to implement in the interface. It would be a simply "Include Finish Button" checkbox. If it's unchecked, the file wouldn't be added to the output file. If it is checked, it would be including in the output. Like I said, I can't imagine this being difficult to implement. If I had access to the Flash source files, I could easily do this. Most of the Flash websites that I build are "level-based". Essentially, I have a "main" flash file that will call each of the individual movies to be loaded via levels into it as needed.
|
||
|
|
|
|
# 8 | ||
|
Member
Join Date: Feb 2006
Location: Woodbury, MN
Posts: 6,269
|
Quote:
http://www.articulate.com/support/contact/feature/ - Gerry |
||
|
|
|
|
# 9 | ||
|
Member
Join Date: Jan 2007
Posts: 13
|
I tried the solution posted by joep for modifying the quizmaker.html file to change the functionality of the Finish button. I am trying to do something slightly different: I want to make sure the user has printed the results before pressing the Finish button. My thought was to put an "Are you sure" message on the action of that button. If they say no, close the dialog and they can press the Print button, then Finish again. The other issue is that it is not a standalone quiz. I published it to Presenter, and instead of closing, I want the Finish button to go to the next slide if they passed, to the previous slide if they failed. I modified the CloseWindow function in quizmaker.html after publishing, but I have a feeling since I published to Presenter and running through launcher.html it is not even looking at the script. Is there anything else I can try? (zip file with an example attached).
Thanks! |
||
|
|
|
|
# 10 | ||
|
Member
Join Date: Aug 2007
Posts: 14
|
Hi ber22,
I haven't had any success in modifying quiz files and then publishing them through Presenter. I'd guess that Presenter regenerates those files internally and ignores the modifications. However, since you can redirect through javascript to another page, you can put a link to your (customized) quiz on the last slide of your presentation, then have the Finish button on the quiz redirect to the first slide of your next presentation. Not perfect, but comes close to what you're after. For any sort of confirmation on the Finish button, you can change the CloseWindow function from Code:
function CloseWindow()
{
window.close();
}
Code:
function CloseWindow()
{
if (confirm("You should print this page before continuing.\nAre you sure you want to continue?"))
{
window.close();
}
}
-- Joe |
||
|
|