PennController for IBEX › Forums › Support › Consent information › Reply To: Consent information
March 9, 2022 at 2:39 pm
#7853
Mate208
Participant
Hello,
I tryed to code within my ”sample” code and it worked perfectly fine. However, it doesn’t work when I switch to my main script. Among the 5 informations that I asked (using the command ”newTextInput”) to the participants, there are only 4 that they must give (the one I don’t ask is the sex gender).
The dots aren’t in the code, they simply indicate that above newButton there were the newTextInputs.
...
newButton("Click", "Continuer")
.center()
.css({"margin-top" : "50px"})
.print()
//.wait()
.wait( getTextInput("age").test.text(/\d/).and(getTextInput("Residency").test.text(/\w/).and(getTextInput("city").test.text(/\w/).and(getTextInput("L1").test.text(/\w/)) )