• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

Multiple TEB with multiple right answers

Engaged ,
Sep 20, 2019 Sep 20, 2019

Copy link to clipboard

Copied

...

Hello Captivaters !...

I just faced a problem... In one of my project, I have a slide with let's say 2 TEB (TEB1 and TEB2) and only one button to validate both of the answers. But there are 2 possible right answers for each of them (let's say A and B for TEB1 and C and D for TEB2)...

So I try to validate the user entry using a conditional action :

If TEB1 = A AND

If TEB1 = B OR

If TEB2 = C AND

If TEB2 = D OR

=> Then it's correct...

But it doesn't work as expected... even if I try to custom the validation (using OR or AND)...

So I create a variable "v_score" and make 2 conditional actions :

1./ If TEB1 = A OR

If TEB1 = B OR

=> increment v_score by 1

2./ If TEB2= C OR

If TEB2 = D OR

=> increment v_score by 1

And I create a final conditional action :

If v_score = 2

=> Then it's correct !...

But I'm wondering if there is a simpler way to do that ???...

(I will try tomorrow - if I find the time - to explain this clearer with an example in the elearning community...)

šŸ˜‰

...

Views

1.2K

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
Advisor ,
Sep 20, 2019 Sep 20, 2019

Copy link to clipboard

Copied

Can this be done with normal advanced actions - yeah.

However, I prefer JavaScript - especially when it comes to these sorts of complex things.

It sounds like you require that both answers be correct.

 

Here is what I worked up.

I made two text entry boxes and assigned the variables teb1 and teb2 to each of them respectively.

I made a check button for the validation.

I placed a transparent image on the stage with an additional state for yes and an additional state for no.

I made a score variable.

 

I can change the field data until I am satisfied and the validation will keep up.

 

Here is the code I placed on the check button to validate the boxes.

 

if ((teb1==1) || (teb1=="a")) {
++score;
}

if ((teb2==2) || (teb2=="b")) {
++score;
}

if (score==2) {
cp.changeState("response","yes");
score=0;
}

else {
cp.changeState("response","no");
score=0;
}

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Do you need the score to be transferred to a LMS? In that case I would also go to JS as StagPrime (Greg) explains. He will be asotnished.

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

...

Thanks for your answers !...

(I just posted my project on the elearning community and will add the link to it if it's approved...)

I agree that JavaScript should be a great solution... But I think I managed to do it with Captivate only !...

(In fact I have 6 TEBs )

See this :

Code_Aller_2.png

It's a bit more complicated than using JavaScript but it finally works as expected...

Big thanks for the code anyway !...

šŸ˜‰

...

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Peut-ĆŖtre vous ne m'aviez pas bien compris. Si vous n'avez pas besoin de transfĆ©rer le rĆ©sulat au LMS, ceci fonctionne bien. Peut-ĆŖtre je l'aurai fait un peu diffĆ©rent. Certainement j'aurai remplacĆ© les TEB par des interaction 'Scrolling Text'.

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Arggghhhh... J'oublie toujours ces "Scrolling Text" et ne les utilise donc presque jamais... Sans doute car contrairement au TEB, on ne peut pas limiter le nombre de caractĆØres...

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Non, mais on peut laisser entrer les deux rƩponses correctes Ơ la fois..... Le TEB ont beaucoup de lmitations Ơ pat les avantages. J'utilise cpExtra pour vaincre la polupart, mais tout le monde n'a pas ce widget fantastique.

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Can't find a good link for CpExtra anymore !!!... Can you help me ?

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

I can't connect to this adress !!!... (using Firefox)... Same if I make a google research...

 

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Hmmm, ce n'est pas une addresse https, essayez de l'ajouter. J'utilise Chrome, pas de problĆØmes.

J'Ć©cris en franƧais et je vous invite de faire le mĆŖme pour une raison spĆ©cifique. Le nouveau sytĆØme de forum n'a plus des forums par langue. If faut qu'il soit visible qu'on peut poster des questions dans sa langue natale. J'ai vraiment peur que beaucoup d'utilisateurs francophones de Captivate n'oseraient plus poser des questions.... dans un forum qui semble tout Ć  fait amĆ©rophone (je ne sais pas si ce mot existe).

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Rien Ć  faire... MĆŖme avec Chrome...

Ce site est inaccessible

Impossible de trouver l'adresse IP du serveur de "infosemantics"

 

  • Essayez d'exĆ©cuter les diagnostics rĆ©seau de Windows.
DNS_PROBE_FINISHED_NXDOMAIN

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Vraiment Ć©trange cette affaire... Je me souviens bien avoir visitĆ© ce site plus d'une fois... Mais aujourd'hui, rien Ć  faire... Si Rod passe par lĆ , j'espĆØre qu'il m'Ć©clairera !...

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
Advisor ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Bizarre - il marche bien pour moi, aussi.

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

C'est Ć  rien n'y comprendre... je viens donc d'essayer avec ma petite tablette... et avec l'ordinateur de ma copine... sans succĆØs !!... Serait-ce les premiers effets du Brexit ??? (Je vis Ć  londres)...

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Un nouveau trick the BJ?

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Pffffff... MdR !... Je vais essayer de contacter Rod via ce forum...

Edit : Arggggghhh... Plus moyen de contacter d'autres participants !!... Comment puis-je le joindre ?...

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

En effet, plus de message directes possible. Ce nouveau plateforme est une catastrophe.

 

Essayez par courriel. Leur domaine est infosemantics dot com dot au. Il y a un email 'info' sur cette domaine ou rod.ward.

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

J'ai essayĆ© par de nombreux moyens... MĆŖme Ć  partir de tweeter (seul adresse accessible pour moi)... Rien Ć  faire... Alors je viens de poster ici un message, comme tu as dĆ» le voir... Sinon pour ce qui est du nouveau forum, Ć  part le fait qu'on ne le retrouve pas Ć  partir de la page d'accueil, je n'ose me prononcer... Pour ce qui est du nouveau site elearning community, lĆ  j'aurai bien des choses Ć  dire !... Censure !!!...

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Censure, vraiment?

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Pas de censure de la part d'Adobe... Auto-censure de ma part plutƓt, pour ne pas dire ce que j'en pense...

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 ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

LATEST
D'accord, moi je ne ferme pas ma 'bouche', je vais en parler a Vegas la semaine prochaine.

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