How to add an initial text value inside a cloze question?

How to add an initial text value inside a cloze question?

by Frankie Kam -
Number of replies: 2
Picture of Plugin developers

Hi ALl

The {1:SA:=the} {1:SA:=brown} {1:SA:=fox} {1:SA:=jumped} {1:SA:=over} {1:SA:=the}  {1:SA:=lazy}{1:SA:=fox}.

Above is my Cloze code. On a laptop/desktop, the input boxes appear on the same row.

On a mobile device which is narrower compared to a laptop/desktop, the input boxes may span more than one line and it can be confusing to the uninitiated which box is for which word.

So I have two choices to help the mobile user:

CHOICE A:

To use hardcoded labels like so:

The 1.{1:SA:=the} 2.{1:SA:=brown} 3.{1:SA:=fox} 4.{1:SA:=jumped} 5.{1:SA:=over} 6.{1:SA:=the}  7.{1:SA:=lazy} 8.{1:SA:=fox}.

which will end up looking like this:

Drawback: the added numbered labels make the question look 'cluttered'.


CHOICE B:

However I would prefer if you could add in a temporaryinitial value inside each box like so:

"Temporary" because the initial values can be overwritten and will be replaced by the user's answers.

Is this impossible? Or Mission Impossible? Anyone?

Cheers
Frankie Kam
Malaysia



Average of ratings: -
In reply to Frankie Kam

Re: How to add an initial text value inside a cloze question?

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
The term you might be looking for is placeholder but I don't know if they can be used with Cloze.
https://www.w3schools.com/TAGS/att_input_placeholder.asp
Average of ratings: Useful (2)
In reply to Marcus Green

Re: How to add an initial text value inside a cloze question?

by Frankie Kam -
Picture of Plugin developers
Hi MArcus
Thank for your reply. Yes, placeholder is the term I am looking for.
Cheers
Frankie Kam