- Posts: 37
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Time limit on a picture
- midnightking
- Topic Author
- Offline
- Junior Member
Less
More
3 years 7 months ago #205173
by midnightking
Time limit on a picture was created by midnightking
I am trying to create a facial expression recognition task.
For this I would like to be able to display a picture for a set time limit
After the picture disappears, I would like List (Dropdown) to appear.
Is this doable ?
For this I would like to be able to display a picture for a set time limit
After the picture disappears, I would like List (Dropdown) to appear.
Is this doable ?
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12889
- Thank you received: 3965
3 years 7 months ago #205175
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Time limit on a picture
Of course,
use a question of type "text display".
Set the timer to the desired time.
Or you trigger the "Next"-button by javascript after the desired time.
In the next question show your dropdown, if you really think it has to be a dropdown.
Here you find everything about question types
manual.limesurvey.org/Question_types
Joffm
use a question of type "text display".
Set the timer to the desired time.
Or you trigger the "Next"-button by javascript after the desired time.
In the next question show your dropdown, if you really think it has to be a dropdown.
Here you find everything about question types
manual.limesurvey.org/Question_types
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- midnightking
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 0
3 years 7 months ago #205178
by midnightking
Replied by midnightking on topic Time limit on a picture
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12889
- Thank you received: 3965
3 years 7 months ago #205180
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Time limit on a picture
Hi,
it is obvious that it will not work if both questions are on the same page.
If the are on the same page (in my opinion not necessary) you may use this script.
As I indicated, I don't think a drop-down is the appropriate type of question.
How many emotions are there to choose from?
So a list(radio) displayed in several columns might be better.
Then you have to exchange "list-dropdown" tp "list-radio"-
Joffm
it is obvious that it will not work if both questions are on the same page.
If the are on the same page (in my opinion not necessary) you may use this script.
Code:
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Identify the questions var thisQuestion = $('#question'+{QID}+''); var nextQuestion1 = $(thisQuestion).nextAll('.list-dropdown:eq(0)'); var nextQuestions = $(nextQuestion1); $('#ls-button-submit').hide(); $(nextQuestions).hide(); setTimeout(function () { $('#question{QID}').hide(); $('#ls-button-submit').show(); $(nextQuestions).show(); }, 5000); }); </script>
As I indicated, I don't think a drop-down is the appropriate type of question.
How many emotions are there to choose from?
So a list(radio) displayed in several columns might be better.
Then you have to exchange "list-dropdown" tp "list-radio"-
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.