• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Multiple Clicks Possible on Submission Button - Constant Score Increase - Changing Answers Possible

Explorer ,
Jul 17, 2023 Jul 17, 2023

Copy link to clipboard

Copied

Good evening, all; 

I'm hoping to get a bit of support with a tester I've been trying out. In a project I'm working on, I wanted to create a sort of non-quiz KC type activity that keeps a score on the screen. I created a separate single-slide project from scratch just to test to see if I could do it and was kind of pleased when it worked...in principle that is: the user selects the correct answer, clicks submit, sees positive feedback and the score goes up by 10 points or the user selects the wrong answer, clicks submit, sees negative feedback the score decreases by 10. The 'submit' action is limited to one attempt (see image below):

 

Screen Shot 2023-07-17 at 10.04.18 PM.png

  • The first problem is that I can choose the wrong answer and just keep clicking Submit over and over (even though it's set to one attempt...?) and the score continues to decrease.
  • The second problem is that I can then just click the correct answer (even though it's set to one attempt...?) and then just keep clicking Submit over and over again and the score continues to increase (See both issues in the attached video).

I have variables and three advanced actions: one for when someone clicks on the correct answer, one for when someone clicks on the incorrect answer and one for what happens when they click on Submit: 

Screen Shot 2023-07-17 at 10.03.14 PM.pngScreen Shot 2023-07-17 at 10.03.47 PM.pngScreen Shot 2023-07-17 at 10.03.33 PM.png

I don't uderstand why those two issues are happening. Likely I'm overlooking something simple and/or this activity wasn't as simple to create as I thought. 

Any ideas or suggestions would be appreciated!

Thanks in advance 🙂

 

Views

346

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 17, 2023 Jul 17, 2023

You need to really limit to one attempt.  There are a couple of possibilities:

  1.  Disable the Submit button when it has been clicked by adding that action to both the Success and Failure action. That will be the most foolproof. You keep the Submit button available, so it can be clicked as many times as the learner wants.
  2.  Use the Delay command to keep the Feedback message for 3 (or more, up to you) seconds, and add than the command 'Go to Next Slide'.

 

Votes

Translate

Translate
Community Expert ,
Jul 17, 2023 Jul 17, 2023

Copy link to clipboard

Copied

You need to really limit to one attempt.  There are a couple of possibilities:

  1.  Disable the Submit button when it has been clicked by adding that action to both the Success and Failure action. That will be the most foolproof. You keep the Submit button available, so it can be clicked as many times as the learner wants.
  2.  Use the Delay command to keep the Feedback message for 3 (or more, up to you) seconds, and add than the command 'Go to Next Slide'.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 17, 2023 Jul 17, 2023

Copy link to clipboard

Copied

As always @Lilybiri thank you so much for your feedback and suggestions. Disabling the Submit button will do exactly as I need. Thanks 🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 17, 2023 Jul 17, 2023

Copy link to clipboard

Copied

If you allow multiple visits to this slide, don't forget to Enable the Submit button with the On Enter event of the slide.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 17, 2023 Jul 17, 2023

Copy link to clipboard

Copied

Thanks @Lilybiri - that's a good point! I was trying to decide if I would let them return later to the slide - which would be a bit tricky for me because I was thinking to have them return to the ones they missed only - but if I do figure a way to do it, ensuring I Enable Submit On Enter is going to be an important step.

 

Although now that I'm thinking about it, I may try an idea your second point in your original response gives me 🤔: in the Failure action I could maybe use the Delay command to keep the Feedback visible for a few seconds, then return all the options to their normal states, show a Try Again button that when clicked enables the Submit button. The point of this activity is to review - and make it more attractive than just using KC slides - and to help them get to a score of 100 (with the scoreboard as an incentive).

 

Thanks again, as always @Lilybiri!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 18, 2023 Jul 18, 2023

Copy link to clipboard

Copied

I am using the Delay command a lot for this type of custom questions.  Very soon I will publish a rather extensive tutorial for a Math course, where I use multistate objects quite a lot.  It would be easy to score the questions, but at this moment I only show progress.

Especially if you want to allow multiple attempts the Delay will help you a lot. 

There are many possible workflows for custom questions, just use that tag on my blog and you'll be surprised. BTW 'custom question' is a term I invented a decade ago, and it seems to be gotten into the normal glossary of CP developers (like micro-navigation).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 18, 2023 Jul 18, 2023

Copy link to clipboard

Copied

Though I've used it only a couple of times, I really see lots of potential with using the Delay command - and both of the times I've used it I've done so because of your posts to others about it that I found in this forum. I will certainly visit your blog and search that tag to get more inspiration on using it...thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 18, 2023 Jul 18, 2023

Copy link to clipboard

Copied

I don't know what is in the air, but getting so much appreciation recently, instead of the insults I often expect, is refreshing.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 18, 2023 Jul 18, 2023

Copy link to clipboard

Copied

Are you jocking Lily ????...

You are and will always be the "Classic Captivate's Queen" !...

Without your precious help, I'm sure many Captivate users would have stopped using it... (That's my case !...)

So as always, I adress you a very very BIG THANK YOU for everything you've done here for this community !...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 18, 2023 Jul 18, 2023

Copy link to clipboard

Copied

Je ne badine pas... c'est ma réalité.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 18, 2023 Jul 18, 2023

Copy link to clipboard

Copied

"La bave du crapaud n'atteint pas la blanche colombe."

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 18, 2023 Jul 18, 2023

Copy link to clipboard

Copied

LATEST

No way @Lilybiri - your help is always appreciated and for anyone insulting you clearly they neither understand how hard you work in this community nor deserve your support. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 17, 2023 Jul 17, 2023

Copy link to clipboard

Copied

Hello !...

I also made such quizzing slides...

Maybe you can simplify them by deleting the "submit button" and attached your actions directly to the answers, by clicking on them.

So you'll need only one correct and one incorrect actions...

And so you won't need all these variables any more (var_answer1...)...

And if you desable the answering-buttons when clicked, you also don't need to care with the changing states !...

I don't know if I'm very clear...

So here is a simple example of this :

https://soutien67.fr/tableau/CP/CP-M-C10_1/index.html

😉

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 18, 2023 Jul 18, 2023

Copy link to clipboard

Copied

@Dirlo - merci! This is indeed a very nice and simplified solution. Thank you for sharing! I will certainly have a closer look as I think this will serve well in another part of the project (and perhaps this one). Thanks again!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources