This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:survey:publish [13.07.2021 22:20] – [Prolonging the survey administration period] sophia.schauer | en:survey:publish [13.07.2021 22:39] (current) – [Prolonging the survey administration period] sophia.schauer | ||
---|---|---|---|
Line 14: | Line 14: | ||
* You can set this in the area **Project summary** prior to the originally set end date. In this way, the survey administration period can be prolonged as many times as needed. | * You can set this in the area **Project summary** prior to the originally set end date. In this way, the survey administration period can be prolonged as many times as needed. | ||
* Generally you can change the survey administration period at any given point in time (e.g. as of the actual date). You do this in the area **Project Settings**. In case you change the survey administration period prior to its originally set ending date, then the survey administration continues without interruption; | * Generally you can change the survey administration period at any given point in time (e.g. as of the actual date). You do this in the area **Project Settings**. In case you change the survey administration period prior to its originally set ending date, then the survey administration continues without interruption; | ||
+ | |||
+ | |||
+ | ===== Adjustion pro Fragebogen ===== | ||
+ | |||
+ | The administration period is in the survey project is used for all questionnaires in the project. But it is also possile to change the administration period for individual questionnaires via [[: | ||
+ | |||
+ | For this purpose, a PHP code is inserted on the first page of the questionnaire as the first element, which checks the current time and rejects the respondents if necessary. If the administration period should be available between the 15th to 17th March 2021, the PHP code would look like the following: | ||
+ | |||
+ | <code php> | ||
+ | $now = time(); | ||
+ | if (($now < strtotime(' | ||
+ | text(' | ||
+ | buttonHide(); | ||
+ | pageStop(); | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | The '' | ||
+ | |||
+ | In the second '' | ||
+ | |||
+ | The function '' | ||
+ | |||
+ | **Note:** Once the questionnaire is started the further completion is also beyond the administration period possible. This is different at the administration period for the hole project. |