Reply To: Troubleshooting

PennController for IBEX Forums Troubleshooting Reply To: Troubleshooting


Hi Jeremy,

Happy New Year!

I have multiple input boxes on each trial and for some reason, the cursor gets focused on the last one. I know you can use the <input autofocus> attributed in HTML but haven’t figured out how to do that in PennController.

Here is how I tried to do it:

        newTextInput("agent_answer", "")
            .css("border-bottom","2px solid black")
            .css("text-transform", "uppercase")

Here is the link to my experiment:

I would appreciate your help!