Question Activation


It is possible to enable a question within an activity after 7-days of the study starting and only enabled for 7days total?
Or is it preferable to create a separate activity that fire in the second week on the study overall?


Hi @harrietrosegalvin,

Yes you can use Time triggering logic in order to do this, no need for a separate activity.


Thanks, Faham, but the link only helps with triggering for the whole survey. It is possible to program this feature using the online editor?

E.g., we want a single item (question) within the survey to appear the 4th time the survey is triggered in the day. We only want the question to appear for 7-days after 7-days of the study start. It’s quite specific. Is it only possible to do this with editing the JSON file.

@harrietrosegalvin I misunderstood your question sorry about that. Yes we’ve recently added a feature addressing what you need but the official documentation is not updated yet. Use days_since_reg_date in the criteria of questions to enable/disable those as required.

For example, if you set a questions criteria to days_since_reg_date > 7 AND days_since_reg_date <= 14 That question will only appear between day 8th and day 14th (inclusive) after participant’s registration date.

Note that the survey’s triggering logic should trigger the survey during this time and then each question at their own level get enabled or disabled based on their criteria.

You don’t need to manually modify the JSON file, use the same criteria editing tool.

Hope this help, let us know if have any questions.


Thank you for your reply. Sorry to keep asking - but where am I enabling the question? The question isn’t dependent on another. It is just only relevant for that one week.

Put the question in its own section and in the criteria field put:
days_since_reg_date > 7 AND days_since_reg_date <= 14

This section would only show during that time, note to avoid putting invalid keywords such as IF or THEN as those would lead criteria evaluation error which by disables that section.

Thank you that makes sense! The question will now only appear on those days. But the next level I require is to only have the question shown on those days the third time we trigger the survey.

The EMA is randomly fired 3 times every day. But this question should only be shown at the end of the day. Is there a way to further exclude it from the previous time points.


For example, can we add to the question criteria a time e.g., days_since_reg_date > 7 AND days_since_reg_date <= 14 AND time of day <= 16:00

Hi @harrietrosegalvin

As you guessed, you can combined the criteria to achieve this. The keyword you can use in here is this:


Where XXX can be one of the following:


And YYY can be one of the following:


So you can form your criteria such that the question is shown only in the afternoon of that date.

Hope it helps,

Hi Mohammed,

Sorry, I tested this last response and it doesn’t seem to work. We ideally want our participants to register in the afternoon. But if this doesn’t happen how can this criteria be used to specify that the question will only every show after 16:00?


Hi @harrietrosegalvin

I made a mistake in my response. The criteria should start with underscore. So it’s _XXX_since_reg_YYY and not XXX_since_reg_YYY .

Can you please try with _ prefix?



Yes, that now worked for the date category. The question is only shown between the 7th and 14th day of participation.

But for example, as I mentioned we only want this question block to appear after 16:00 in the afternoon between those dates. Using _hours_since_reg_time works in theory as our participants should all register in the afternoon at around 16:00. But if they don’t we have an issue. Is there any way to have criteria for the time that is not associated with the registration? For example just time_of_day > 16:00?


But can’t you use _hours_since_reg_date? This always uses the mid-night of the day that the participant enrolled as the reference point. So the following:

_hours_since_reg_date >= 16 and _hours_since_reg_date < 17

Always refer to 4 to 5 pm on the first day of enrollment. And it seems that’s what you are looking for. Right?

Ahh, I see! I wasn’t aware by doing that it would take the mid-night point and then add the hours from there! This is perfect. Thank you for your patience and help!


1 Like