Quiz

CLOZE question tab order

 
 
Picture of Deepa Sankaranarayan
CLOZE question tab order
 

I am trying to create a moodle question for 2 digit multiplication. Each of the digits in the answer will be a CLOZE Numerical field. I would like to change the tab order of the CLOZE NUMERICAL fields so that I move from right to left while answering the question. Can this be done?  I know tabindex can  change the tab order, but not sure how I should integrate with CLOZE.  

Any help is appreciated. 

I am using moodle 2.5.3

 
Average of ratings: -
Picture of Douglas Broad
Re: CLOZE question tab order
 

I don't think you have access to the question form inputs directly enough to indicate a tab order.  If you really think it's worth it, you could create the question so that the taborder gets set as you wish.  Below is a question code example that uses floating divs to fool the question layout (tab) order.

<p>Perform the following 2-digit multiplication</p>

<div style="clear:both;">

<div style="float:right;width:4em;text-align:right;">3</div>

<div style="float:right;width:4em;text-align:right;">2</div>

</div>

<div style="clear:both;">

<div style="float:right;width:4em;text-align:right;">4</div>

<div style="float:right;width:4em;text-align:right;">3</div>

<div style="float:right;width:4em;text-align:right;">X</div>

</div>

<div style="clear:both;">

<div style="float:right;border-top:solid thin black;">{:SA:=2}</div>

<div style="float:right;border-top:solid thin black;">{:SA:=8}</div>

<div style="float:right;border-top:solid thin black;">{:SA:=7}</div>

 
Average of ratings: -
Picture of Deepa Sankaranarayan
Re: CLOZE question tab order
 

Douglas

That is super cool!  Just what I wanted. Thank you very  much !

Deepa

 
Average of ratings: -
Picture of Douglas Broad
Re: CLOZE question tab order
 

You're welcome. Glad to help.  I did forget a last closing </div> tag though.

 
Average of ratings: -