How can I restrict Survey availability based on time of day?

How can I restrict Survey availability based on time of day?

zRestrict survey availability to business hours using the following techniques.

 Create a Text Box field using Time (HH:MM) validation at the beginning of your survey (this field will act as a time stamp which conditional logic will evaluate)

      Add the following Action Tags to the field:

         @NOW (automatically populates the current time)

         @HIDDEN (hides the field from participant view)

Add the following Conditional Logic to the remaining fields to be restricted. This logic will allow the field to be shown only between the hours of 8am to 5pm.

[timestamp_v2] > "08:00" and [timestamp_v2] < "17:00"

Note: Alternatively, you can place the remaining fields on a separate survey and use the same logic (include event name) below in the Survey Queue to restrict the entire second survey.

 

Add a field to display a warning informing participants the survey is restricted after hours

Hint: Use a Checkbox type field but leave the choices empty so no response options are displayed.

 

Add the following Conditional Logic to the field. This logic will only allow the field to be shown before 8am or after 5pm.

[timestamp_v2] < "08:00" or [timestamp_v2] > "17:00"

 

Additional Restrictions:

You can further restrict a survey date-wise based on the Survey Expiration option under Survey Sett

 

Your overall Survey will look something like this: