Highlighted

Multiple TEB with multiple right answers

Participant ,
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

501

Likes

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

Multiple TEB with multiple right answers

Participant ,
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

502

Likes

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
Advocate ,
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;
}

Likes

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
Reply
Loading...
Most Valuable Participant ,
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.

Likes

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
Reply
Loading...
Participant ,
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 !...

😉

...

Likes

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
Reply
Loading...
Most Valuable Participant ,
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'.

Likes

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
Reply
Loading...
Participant ,
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...

Likes

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
Reply
Loading...
Most Valuable Participant ,
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.

Likes

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
Reply
Loading...
Participant ,
Sep 21, 2019

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Most Valuable Participant ,
Sep 21, 2019

Copy link to clipboard

Copied

Likes

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
Reply
Loading...
Participant ,
Sep 21, 2019

Copy link to clipboard

Copied

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

 

Likes

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
Reply
Loading...
Most Valuable Participant ,
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).

Likes

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
Reply
Loading...
Participant ,
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

Likes

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
Reply
Loading...
Participant ,
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 !...

Likes

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
Reply
Loading...
Advocate ,
Sep 21, 2019

Copy link to clipboard

Copied

Bizarre - il marche bien pour moi, aussi.

Likes

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
Reply
Loading...
Participant ,
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)...

Likes

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
Reply
Loading...
Most Valuable Participant ,
Sep 21, 2019

Copy link to clipboard

Copied

Un nouveau trick the BJ?

Likes

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
Reply
Loading...
Participant ,
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 ?...

Likes

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
Reply
Loading...
Most Valuable Participant ,
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.

Likes

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
Reply
Loading...
Participant ,
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 !!!...

Likes

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
Reply
Loading...
Most Valuable Participant ,
Sep 21, 2019

Copy link to clipboard

Copied

Censure, vraiment?

Likes

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
Reply
Loading...
Participant ,
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...

Likes

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
Reply
Loading...
Lilybiri LATEST
Most Valuable Participant ,
Sep 21, 2019

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Resources
Captivate User Guide
New Group