Hey there folks. I’ve successfully got this code to work, however, when I enter the name in the browser and hit the return key, it doesn’t work straight away, it needs the tab key pressed a few times to then get the return / enter key to ‘confirm’.
Is there a way for it to automatically have the
Greetings, please confirm identity and click Enter.<br><<textbox "$playerName" "Type your name here" autofocus>><<button "Enter">> <<replace "#name">>@@.fade-in;$playerName, name confirmed.@@<</replace>><</button>> <span id="name"></span> <<set $score to 0>> [[Confirm Identity|Start 1][$score +=1]]
Maybe I should just code it so the button ‘enter’ will jump to the next passage?