Howdy, Stranger!

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

Supported by

Limit checkbox selection number to 7/14?

Hello, I'm a newbie :smile: , and I've searched and searched, but cannot find script that will help me.

1) I have 14 checkboxes with words, but I want the participant to only be able to select 7. Is there a way to do this? (I used the new_form_base to make checkbox widgets in a 4x4 array, 2 are blank)

2) Also, once the participant selects the 7 checkboxes, I would like to somehow let them be able to restudy these words (along with their fact) in the next phase. So essentially, I would need to get the selected words from the logger I believe.

I know it's a lot of questions in one, but any help is truly appreciated! Thanks in advance!!

Comments

  • Hi Phojo,

    I think the way to go is to use two inline script items, one to create the form, and one to check your specific requirements. In the attachment an example for 8 items of which 2 have to be chosen, the warning message is now generic, but you could add additional specific warnings to tell the participant if there are too few or too many options selected.

    Right now, in the example the participants can walk sequentially through some sketchpads with text, but I am not sure how or what you want them to inspect.

    perhaps this thread also helps a bit:
    http://forum.cogsci.nl/index.php?p=/discussion/comment/845#Comment_845

    good luck,

    Roelof

  • edited August 2017

    Hey Roelof,

     Thanks so much for your reply. It is unfortunately imperative that only 7 checkboxes are selected. I thought about a warning message, but even if the experimenter checks that only 7 are selected, for any slight oversight, all of that participant's data would have to be thrown out. 
    

    I tried using "if then" arguments/statements, but it still isn't working. I truly appreciate your comment however, and for trying to help. I'm bummed bc I really like OpenSesame, but I may have to go back to E-Prime. Well anyway, thanks again!

  • Whoops, didn't mean for that to happen!

  • Hi,
    There was indeed a bug in the experiment I uploaded since the number of answers was not reset after checking, which meant that the total number kept going up. If you reset the 'nr_ans' after the else statement (nr_ans = 0) it works. Of course, the example of 2 out of 8 can be rescaled to 7 out of 14 if you set the check length to 7 and add more widgets.

    I am not sure how you want to restrict the options of the participants, there are many possibilities here, I am guessing you would like it to be impossible to select checkbox number 8, or continue immediately after 7 selections, or ...? I have to admit though that customizing the form in this way is not the easiest task, but if you are specific about what you'd like I am sure we can work it out

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 http://45.77.173.118/ 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