Muxuan He

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Data repetition during collection #6795
    Muxuan He
    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

    in reply to: Data repetition during collection #6783
    Muxuan He
    Participant

    Hi Jeremy,

    Thank you for your tips! The second question was perfectly solved.

    However, the regular expression under the command test.text() failed to regulate the input in my experiment.I tried what you recommended but no matter what I entered, even Chinese characters, the experiment went on without any warning or pause. I was thinking it might need a confirmation command as well so I also tried .wait() after test.text() but it still didn’t work.

    Here is the demonstration link to the pilot experiment.
    I would appreciate it if you could give me some more advice!

    Best,
    Muxuan

    in reply to: Data repetition during collection #6738
    Muxuan He
    Participant

    Hi Jeremy,

    Sorry to reply so late! Thank you for your help so far! I struggled a bit with the password thing.

    I have a very specific idea about controlling the input string when participants are required to enter their IDs. I assigned my participants IDs but some of them forgot to do so. I am wondering, besides putting a note below the INPUT box, whether certain codes can help me restrict what participants enter in that box, like in the letter “S” followed by a number (S12).

    Also, I have a practice session before the “participant information collection” interface, and usually the participant would end the practice session with a key press “F”, and when they were directed to the “participant information collection” interface, the letter “f” was already there in the box. Some participants were confused so they left the letter there before entering ID and some ignored the input step and used “f” as an ID. I hope to know how I can fix this problem as well.

    Thank you for always being there for us!

    Best,
    Muxuan

    in reply to: Issue with accessing the new experiment farm #6736
    Muxuan He
    Participant

    I think it is because the website is under maintenance! That happens to me too and also they said so when I tried to download the results file.

    in reply to: Data repetition during collection #6700
    Muxuan He
    Participant

    Sorry, the link was not included for some reason. I’ll post it here.

    https://farm.pcibex.net/r/HmFGwk/

    in reply to: Data repetition during collection #6699
    Muxuan He
    Participant

    Hi Jeremy,

    Thank you for your quick response!

    It’s a relief to know the duplication is a known bug and it will not occur randomly. I guess it was just me rushing to finish the sentence and keep pressing the space bar longer than I should.

    As for the second question, I am happy to share my code and I would appreciate it that you could give me some advice!
    The demonstration link is here

    Thank you so much
    Muxuan

    Muxuan He
    Participant

    Hi Gabi,

    Did it work? How was the workable script laid out? I am working on the cumulative window as well and would appreciate a glance of your script if possible.

    Hope it worked and thank you in advance!

    Best,
    Muxuan

Viewing 7 posts - 1 through 7 (of 7 total)