Howdy, Stranger!

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

Supported by

[FORMS] Force participants to answer all items

Dear kind people,
I set up a form to present a mood questionnaire to participants, but I'm looking at heaps of missing data because apparently, people missed several clicks (I assume because you have to hit the checkboxes very accurately for them to register).
My question is: what would be a good way to force people to fill in all items? My favourite solution would be to make the "Next"-button appear only after everything is filled out. To only activate the button would also work, but I would like the visual feedback, that people are not yet done on the page they're on right now.
Am I talking sense?
Thank you so much!
Best
Vincent

Comments

  • In the meantime, I found this post , which adresses almost exactly what I'm trying to do, even though I still struggle to implement it.

    Two differences: I'm not using a multiple choice but a base form item (doubtful that this makes a difference, though). And I want more than one item per page, and I have no idea how the if-check has to look like.

    The example code I'm trying to incorporate is this:

    while True:
        # Prepare and run the multiple choice forms (you'll have to adapt the names to your own experiment):
        items.prepare("form_multiple_choice")
        items.run("form_multiple_choice")
    
        # If no response is given, continue to show the form.
        # Otherwise, break from this while loop and advance to the next item
        if var.response != "no":
            break
  • edited March 2018

    So, another couple hours in, I realize that there's a new function implemented for that. I just don't get it to work, though, I can't make sense of the manual. I tried pasting this into my forms but whenever I run it and come back to my form, it all has vanished again. Where do I have to put it, how can I pass functions to my forms?

    Is there a MWE of the form validator I could use to get the drift? I'm at a bit of a loss...

  • Hi Vincent,

    To use form validation, you need to implement your form using Python code, as described here:

    It sounds like you've implemented your form with a form_base plugin, and tried to insert the Python code there (which doesn't work). Is that right?

    If so, I would first try to recreate your form in a Python inline_script. Once you've done that, adding the validation is relatively straightforward.

    Cheers!
    Sebastiaan

  • Sebastiaan! Hooray!
    Yes, that was absolutely correct, and I will try out the inline scripting later today. Thank you so much!

  • Like. A. Charm. You're the best, thank you so much.
    One more thing: how do I go about formatting the form screen with inline script? I used the "_theme grey" color scheme earlier, which looked nice, and now it's all looking rather dull.

  • Hi Vincent,

    form = Form(theme=u'plain') is the inline command to change the theme. To my knowledge, there are currently only two themes -- gray and plain.

    Hope this helps,

    Eduard

    Buy Me A Coffee

  • Hey Eduard,
    thank you very much for your reply. I've found that option, but what I don't understand is: when I build the questionnaire with the built-in form blocks, it was black font on white background (with the theme gray), when I call this same theme when building the questionnaire with python inline scripting, it's white font on black background. It's not a big issue, I can well use it that way, I'm just curious as to why is that and how could I change it.
    All the best to you guys
    Vincent

  • Hi Vincent,

    In the general information section of your experiment (first or second item in the overview area), you can set the background and foreground color. I think setting the colors will also show in your form (but not sure).

    Eduard

    Buy Me A Coffee

  • Eduard! Thank you so much, again.
    Sometimes I get a bit embarrassed about what basic kind of questions I bug you guys with, I'm sorry.
    Thank you so much for your support!

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