Howdy, Stranger!

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

Supported by

form questions and sub-questions

edited August 2017 in OpenSesame

Hi All,

I'm relatively new to OpenSesame and Python, so forgive me if this is a question that's already been addressed somewhere. One reason I started to work with this as opposed to another software is because of the awesome tutorials and active forum.

I'm creating a survey to collect meta-data and a little bit of background on participants before an experiment with multiple choice and open questions. Right now I have everything running in a sequence in the blockloop. It works fine, running through all questions in order. However, I would like the answers to some of the multiple choice questions determine a follow up open ended question.

Question 1:
What's your favorite letter?

    Question 2:
    if answer to Question 1 was "a", question 2 = "What do you think about American Politics in 2017?"
    if answer to Question 1 was "b", question 2 = "Tell me how to weave a hammock."

    If user answers "a", s/he's never prompted to talk about hammocks. Then question 3 is another multiple choice and question 4  contains another set of open ended questions, one of which would be asked depending on 3.

Is that a clear question? Again, if this is addressed somewhere, pls direct me to it, but so far my searches haven't led me to the right place.



  • ....and, I didn't mean for that bit to print like code. live 'n learn.

  • Hi Bob,

    That's a nice question. Later today or this week, I try to make a little example to show you how this could be implemented. Be patient (but remind me in case I forget).


  • Great! Thank you. I would imagine it's based on if-elif-else statements, but I can't figure out how to structure the questions in the block loop such that the control flow does what I want it to. Cheers.

  • Hi Eduard. I had to take a mental break from my experiment design, but I'm back, and with a reminder about this...please, if you could add this example, I'd be grateful!

  • Super sorry for the delay!

    attached an experiment that implements somehting that you wants, right?

    Actually, I was surprised how easy it was.

    Good luck,


  • Thanks a lot; it's very helpful. It looks so simple once it's there in front of me.

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