PennController for IBEX › Forums › Support › Skipping Trials › Reply To: Skipping Trials
December 6, 2021 at 1:16 pm
#7578
![](https://www.pcibex.net/wp-content/uploads/2019/04/ibex-2-150x150.png)
Participant
Hi,
I completely removed the “thanks” trial, and I added in the .wait() command to both the “Yes I consent” button and “No, I do not consent” button. If the .wait() command is on the Yes button, the No button is not there, understandably so. Once I click on the Yes button, the No button appears. However, if after this I want to click on the yes button, it will not send results, and only do so if I click on the no button.
If I only add the .wait() command to the No button, both buttons appear once the trial starts. However again, results are only sent if I click on the no button, and not the yes.
Here is a sample of the experiment:
newTrial ("final" , newText("<p> Thank you for participating in this experiment!</p>") .center() .print() , newText("<p> Deleted </p>") .center() .print() , newText("<p> Deleted </p>") .center() .print() , newText("<p> Now that you know the true purpose of this experiment, do you consent to having your anonymous data collected by the experimenter? </p>") .center() .print() , newButton("Yes, I consent") .left() .print() , newButton("No, I do not consent") .right() .print() .wait() ) SendResults("sendd")