Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Prevent logging early key response

Hi All,

I was wondering of someone could help me out with the following problem. We have a task where participants have to put their answer into the form_text_input widget. The problem with this is that it already registrates an unwanted early (single) keypress that was made during the stimulus presentation (with sketchpad). How can we prevent this from happening? We want a empty answer screen (or the possibilty to press two keys). We already tried to turn off/on the keypress flush option, but this did not work.

Does anyone know how to solve this problem?

Thanks in advance!




  • Hi Smiddy,

    where did you do the keypress flush option? In a keyboard response item? If so, what was the duration of it then?

    I am surprised that this can happen. I would have expected that the text input form automatically flushes all the keypresses, but if not, what you can do is indeed flushing it manually. If the keyboard response item doesn't work, you can try to do it with Python code (in an inline_script, see here).

    If that doesn't do it, could you share your experiment, so I can see what is going on?



    Buy Me A Coffee

  • Hi Eduard, thanks for your quick response. I turned the keypress flush off in all sequences. It's not in a response item. Therefore, I don't think it's possible to code with inline script.

    I putted the OpenSesame experiment in the attachment. It's in Dutch. The problem arises when the mathematical problems starts. If you press for exampe 4 on the first equation that is showed, this answer is already registered into the form_input text widget. Hopefully you can figure out how to prevent this from happening...


  • Ah, I see what you mean. @sebastiaan, it seems impossible to flush keyboard responses before a text_input widget/form. I'd consider this a bug, or is there anything that I'm missing here?


    Buy Me A Coffee

  • Hi @SMD1990 and @eduard ,

    Thanks for pointing this out. 👍️ This is indeed strange behavior and filed an issue for it. For now, a simple way to flush the keyboard is to insert an empty sequence just before the form_text_input , because a sequence by default flushes the keyboard.

    — Sebastiaan

    Buy Me A Coffee

  • @sebastiaan and @eduard. Thanks for finding the solution. It works fine now!!!

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games