PennController for IBEX › Forums › Support › Data repetition during collection › Reply To: Data repetition during collection
April 1, 2021 at 9:12 am
#6795
![](https://www.pcibex.net/wp-content/uploads/2019/04/ibex-2-150x150.png)
Participant
Hi Jeremy,
Your instructions are super helpful and I kind of know how it should go!
I used these codes:
,
newTextInput("MyinputID")
.print()
,
newButton("Start")
.print()
.wait(
getTextInput("MyinputID")
.test.text( /^[dD]+\d+/ )
.failure(newText("Please enter your ID in 'D+number' form.") .print()))
It worked! I didn’t expect there was something so specific in the tutorial. I will definitely check the tutorial more before raising questions here. Thank you again for answering my questions.
Best,
Muxuan