from otreeutils.surveys import generate_likert_field, generate_likert_table # define a Likert 5-point scale with its labels likert_7_labels = ( '1', '2', '3', '4', '5', '6', '7', ) boredom_proneness = { 'page_title': 'Survey Questions', 'survey_fields': [ # create a table of Likert scale choices # we use the same 5-point scale a before and specify four rows for the table, # each with a tuple (field name, label) generate_likert_table(likert_7_labels, [ ('boredom_proneness_01', '
It is easy for me to concentrate on my activities.
'), ('boredom_proneness_02', 'Frequently when I am working I find myself worrying about other things.'), ('boredom_proneness_03', 'Time always seems to be passing slowly.'), ('boredom_proneness_04', 'I often find myself at "loose ends", not knowing what to do.'), ('boredom_proneness_05', 'I am often trapped in situations where I have to do meaningless things.'), ('boredom_proneness_06', 'Having to look at someone\'s home movies or travel slides bores me tremendously.'), ('boredom_proneness_07', 'I have projects in mind all the time, things to do.'), ('boredom_proneness_08', 'I find it easy to entertain myself.'), ('boredom_proneness_09', 'Many thing I have to do are repetitive and monotonous.'), ('boredom_proneness_10', 'It takes more stimulation to get me going than most people.'), ('boredom_proneness_11', 'I get a kick out of most things I do.'), ('boredom_proneness_12', 'I am seldom excited about my work.'), ('boredom_proneness_13', 'In any situation I can usually find something to do or see to keep me interested.'), ('boredom_proneness_14', 'Much of the time I just sit around doing nothing.'), ('boredom_proneness_15', 'I am good at waiting patiently.'), ('boredom_proneness_16', 'I often find myself with nothing to do-time on my hands.'), ('boredom_proneness_17', 'In situations, where I have to wait, such as line or queue, I get very restless.'), ('boredom_proneness_18', 'I often wake up with a new idea.'), ('boredom_proneness_19', 'It would be very hard for me to find a job that is exciting enough.'), ('boredom_proneness_20', 'I would like more challenging things to do in life.'), ('boredom_proneness_21', 'I feel that I am working below my abilities most of the time.'), ('boredom_proneness_22', 'Many people would say that I am a creative or imaginative person.'), ('boredom_proneness_23', 'I have so many interests, I don\'t have time to do everything.'), ('boredom_proneness_24', 'Among my friends, I am the one who keeps doing something the longest.'), ('boredom_proneness_25', 'Unless I am doing something exciting, even dangerous, I feel half-dead and dull.'), ('boredom_proneness_26', 'It takes a lot of change and variety to keep me really happy.'), ('boredom_proneness_27', 'It seems that the same things are on television or the movies all the time; it\'s getting old.'), ('boredom_proneness_28', 'When I was young, I was often in monotonous and tiresome situations.'), ], form_help_initial='

Please rate each statement indicating how you feel about yourself and your life in general.

Use the following choices: 1 = Strongly Disagree; 2 = Disagree; 3 = Somewhat Disagree; 4 = Neutral; 5 = Somewhat Agree; 6 = Agree; and 7 = Strongly Agree.

', # HTML to be placed on top of form form_help_final='

', # HTML to be placed below form table_row_header_width_pct=15, # width of row header (first column) in percent. default: 25 table_rows_randomize=True, # randomize order of displayed rows table_cols_equal_width=False, # adjust form columns so that they have equal width table_cells_highlight= True, # highlight form cells on mouse-over table_rows_highlight= False, # highlight form rows on mouse-over ) ] }