Hi,
I would like to thank you very much for the PennController. It seems to be super useful!
I have one minor question. I am struggling with the html.test.complete element. I adopted the code below from the Documentation in my script:
—
newHtml("demographics", "example_intro.html")
.print()
,
newButton("continue", "Continue to the next page")
.print()
.wait(
getHtml("demographics").test.complete()
.failure( getHtml("demographics").warn() )
)
—
However, there seems to be a problem with the last row (starting “.failure”). When I remove this row, everything works, but I do not get any error message when the obligatory fields are not filled in. I assume there must be a problem in the communication with the html file (which works well under “normal” Ibex coding). Do you have any tips how to solve this?
(In the example_intro.html file, I use this coding for each obligatory field: <label class=”error” for=”FIELD_NAME”></label>)
All the best,
Jan Chromý
Charles University