Hi Juan Camilo,

In the end I did roughly what you are suggesting. I was just wondering 
whether or not there was a cleaner way because you have to make sure that 
there are no "wrong" answers when you ask the question - and since each 
answer is "correct" but it is a single multiple choice question, it doesn't 
fit into the edX model as cleanly as I would like.

For now, I have use a work-around as you suggest.

Thanks for following up - I appreciate your comments because I can always 
learn a new technique and update the course, so these suggestions are 
always valuable.

Julie

On Tuesday, April 4, 2017 at 4:35:04 PM UTC-4, Juan Camilo Montoya wrote:
>
> Hello Julia and Miguel, 
>
> for anyone working on this,  just one suggestion: 
> instead of using polls + conditionals, why don't you use multiple choice 
> questions + feedback to ask the questions and then inside the feedback you 
> could add the proper link to the contents the user should be directed to in 
> each case.
>
> You could even hide the correctness in the MC question and also hide the 
> destination units, in order to have the same behavior as the poll + 
> conditional, but with less trouble.
>
> I know it's been a while since Julia postes the question, but I hope it 
> helps anyway.
>
> :)
> all best, 
> Juan Camilo
> eduNEXT <https://www.edunext.co>
>  
>
>
> El viernes, 3 de marzo de 2017, 18:02:57 (UTC-5), Miguel Cordova escribió:
>>
>> Did you got the solution to this issue? I'm stacked in the same case... 
>> there is no way to get the poll answer value.
>>
>> El viernes, 4 de noviembre de 2016, 16:44:29 (UTC+1), Julia Mullen 
>> escribió:
>>>
>>>  Good Morning, 
>>>
>>>  I am trying to create the following sequence:
>>>    
>>>     What is your level of supercomputing experience?
>>>         if none then
>>>             unit should be an  html text component with information on 
>>> which modules to study
>>>         else
>>>            can you identify your use case?
>>>               if yes then 
>>>                  unit should be an html text box directing you (via 
>>> link) to the use case module matching your use case
>>>               else 
>>>                  unit should be an html text box directing you to an 
>>> intermediate path
>>>
>>>   I have tried to accomplish this using the conditional  - so first a 
>>> poll, 
>>>      Have you ever used a supercomputer?
>>>          Yes, No, A long time ago
>>>
>>>   Option 1:  I tried building the conditional using the UI in the 
>>> advanced problem in a Euclyptus instance - nothing all I get is a block 
>>> that says "you must attempt supercomputing experience to see this 
>>> material.  I have attempted and even answered the poll question, but no go.
>>>
>>>   So I tried option 2: the old way - create a poll unit, create a unit 
>>> with a component answer for the No result, a component answer for the yes 
>>> and long time ago results.  Export the course and edit the code in the 
>>> vertical associated with the unit.  However, I am still missing something 
>>> because if I answer the poll question with 'no' I should get the simple 
>>> html component but I get what you see below.
>>>
>>>
>>>
>>>   
>>>          
>>>        
>>>
>>>   In addition, on the studio side I see:
>>>
>>>  
>>>
>>>   
>>>
>>>   and when I go into each of those blocks there is nothing in the 
>>> individual conditional.  I think I am picking up the correct sources for 
>>> the Supercomputing experience poll, but the answers aren't being properly 
>>> translated to display the components.  The code that I modified in the 
>>> vertical is below.  Any and all suggestions are welcome.
>>>
>>> Also - the How To Use Conditional Documentation is pretty sparse, I did 
>>> use the Stanford course 
>>> https://lagunita.stanford.edu/courses/StanfordOnline/OpenEdX/Demo/courseware/Conditionals/Conditional_content/
>>>  
>>> to get a better sense of how to do this, but we need clearer documentation 
>>> if we are going to expand the community of course builders.  The Stanford 
>>> units are great but perhaps a bit out of date.  I'm happy to be the 
>>> documentarian once I get this resolved.
>>>
>>>   Thanks, 
>>>     Julie
>>>
>>> ===================
>>>   Code
>>> ==================
>>>  <vertical display_name="Suggested Path, Step 1">
>>>   <conditional 
>>> sources="block-v1:LLX+LLX06+Q1_2017+type@poll+block@2720492480234529a3bf035ab87947e5"
>>>   
>>> poll_answer="No">
>>>        <html url_name="bc69a47f28c748b2a0f0bfe48b2862aa"/>
>>>   </conditional>
>>>   <conditional 
>>> sources="block-v1:LLX+LLX06+Q1_2017+type@poll+block@2720492480234529a3bf035ab87947e5"
>>>  
>>> poll_answer="Yes">
>>>   <poll url_name="1ab736d88a2846dd88f1948dd81414fc" 
>>> xblock-family="xblock.v1" feedback="" display_name="Starting Point for 
>>> Experienced and Advanced Users" private_results="true" question="Since you 
>>> are familiar with the LLSC systems, we need to know more about the 
>>> application that you plan to run on the LLSC systems.  Which of the 
>>> following Use Cases best fits your application?" max_submissions="0" 
>>> answers="[&#10;  [&#10;    &quot;R&quot;,&#10;    {&#10;      
>>> &quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
>>> &quot;&quot;,&#10;      &quot;label&quot;: &quot;Throughput (or Job 
>>> Array)&quot;&#10;    }&#10;  ],&#10;  [&#10;    &quot;B&quot;,&#10;    
>>> {&#10;      &quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
>>> &quot;&quot;,&#10;      &quot;label&quot;: &quot;MapReduce&quot;&#10;    
>>> }&#10;  ],&#10;  [&#10;    &quot;G&quot;,&#10;    {&#10;      
>>> &quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
>>> &quot;&quot;,&#10;      &quot;label&quot;: &quot;Bulk Synchronous or 
>>> multi-stage loosely coupled&quot;&#10;    }&#10;  ],&#10;  [&#10;    
>>> &quot;O&quot;,&#10;    {&#10;      &quot;img&quot;: &quot;&quot;,&#10;      
>>> &quot;img_alt&quot;: &quot;&quot;,&#10;      &quot;label&quot;: 
>>> &quot;Parallel&quot;&#10;    }&#10;  ],&#10;  [&#10;    
>>> &quot;1478202817175&quot;,&#10;    {&#10;      &quot;img&quot;: 
>>> &quot;&quot;,&#10;      &quot;img_alt&quot;: &quot;&quot;,&#10;      
>>> &quot;label&quot;: &quot;Databases and Analytics&quot;&#10;    }&#10;  
>>> ],&#10;  [&#10;    &quot;1478202835407&quot;,&#10;    {&#10;      
>>> &quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
>>> &quot;&quot;,&#10;      &quot;label&quot;: &quot;I don't know&quot;&#10;    
>>> }&#10;  ]&#10;]"/>
>>>   </conditional>
>>>   <conditional 
>>> sources="block-v1:LLX+LLX06+Q1_2017+type@poll+block@2720492480234529a3bf035ab87947e5"
>>>  
>>> poll_answer="A long time ago">
>>>       <poll url_name="1ab736d88a2846dd88f1948dd81414fc" 
>>> xblock-family="xblock.v1" feedback="" display_name="Starting Point for 
>>> Experienced and Advanced Users" private_results="true" question="Since you 
>>> are familiar with the LLSC systems, we need to know more about the 
>>> application that you plan to run on the LLSC systems.  Which of the 
>>> following Use Cases best fits your application?" max_submissions="0" 
>>> answers="[&#10;  [&#10;    &quot;R&quot;,&#10;    {&#10;      
>>> &quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
>>> &quot;&quot;,&#10;      &quot;label&quot;: &quot;Throughput (or Job 
>>> Array)&quot;&#10;    }&#10;  ],&#10;  [&#10;    &quot;B&quot;,&#10;    
>>> {&#10;      &quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
>>> &quot;&quot;,&#10;      &quot;label&quot;: &quot;MapReduce&quot;&#10;    
>>> }&#10;  ],&#10;  [&#10;    &quot;G&quot;,&#10;    {&#10;      
>>> &quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
>>> &quot;&quot;,&#10;      &quot;label&quot;: &quot;Bulk Synchronous or 
>>> multi-stage loosely coupled&quot;&#10;    }&#10;  ],&#10;  [&#10;    
>>> &quot;O&quot;,&#10;    {&#10;      &quot;img&quot;: &quot;&quot;,&#10;      
>>> &quot;img_alt&quot;: &quot;&quot;,&#10;      &quot;label&quot;: 
>>> &quot;Parallel&quot;&#10;    }&#10;  ],&#10;  [&#10;    
>>> &quot;1478202817175&quot;,&#10;    {&#10;      &quot;img&quot;: 
>>> &quot;&quot;,&#10;      &quot;img_alt&quot;: &quot;&quot;,&#10;      
>>> &quot;label&quot;: &quot;Databases and Analytics&quot;&#10;    }&#10;  
>>> ],&#10;  [&#10;    &quot;1478202835407&quot;,&#10;    {&#10;      
>>> &quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
>>> &quot;&quot;,&#10;      &quot;label&quot;: &quot;I don't know&quot;&#10;    
>>> }&#10;  ]&#10;]"/>
>>>   </conditional>
>>> </vertical>
>>>  
>>> ===================
>>> ===================
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/7c49dbac-6e52-4d17-94d3-0fce83fb0273%40googlegroups.com.

Reply via email to