Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:create:functions:buttonhide [19.12.2014 18:01] alexander.ritteren:create:functions:buttonhide [02.01.2015 16:09] admin
Line 7: Line 7:
 **Warning:** If you disable the Next button, the participant can no longer go onto the next page -- not even if JavaScript carries out the forwarding (see below). **Warning:** If you disable the Next button, the participant can no longer go onto the next page -- not even if JavaScript carries out the forwarding (see below).
  
-**Note:** If the function ''[[#buttoncode|buttonCode()]]'' is used in order to reposition the button, then the button is automatically hidden at the end of the questionnaire. Therefore, the function ''buttonHide()'' is not necessary.+**Note:** If the function ''[[:en:create:functions:buttoncode|buttonCode()]]'' is used in order to reposition the button, then the button is automatically hidden at the end of the questionnaire. Therefore, the function ''buttonHide()'' is not necessary. 
  
 ===== Example: Pause Between Survey Waves ===== ===== Example: Pause Between Survey Waves =====
  
-The following example assumes that a two-wave (or multi-wave) survey shall be carried out. It is important when it comes to filtering, that responses in the first questionnaire can be accessed in the second questionnaire. Therefore both parts are compiled into one questionnaire -- however, a page interruption is inserted between the two parts using ''buttonHide()''. This only shows the participant that they have completed the first part of the questionnaire, which is stored as a text element "goodbye1"+The following example assumes that a two-wave (or multi-wave) survey shall be carried out. It is important when it comes to filtering, that responses in the first questionnaire can be accessed in the second questionnaire. Therefore both parts are compiled into one questionnaire -- however, a page that pauses the questionnaire is inserted between the two parts using ''buttonHide()''. This only shows the participant that they have completed the first part of the questionnaire, which is stored as a text element "goodbye1"
  
 In order to answer the second part of the questionnaire (i.e. the second questionnaire from the participant's perspective), they have to resume the questionnaire at a later date. The example assumes that they receive a second mailing in order to so, which was created a reminder ''[[:en:survey:mailing|Send Mailings]]''. This can be done by the project manager sending it at a certain time or it can be sent automatically by using ''[[:en:create:functions:mailresume|mailResume()]]''. In order to answer the second part of the questionnaire (i.e. the second questionnaire from the participant's perspective), they have to resume the questionnaire at a later date. The example assumes that they receive a second mailing in order to so, which was created a reminder ''[[:en:survey:mailing|Send Mailings]]''. This can be done by the project manager sending it at a certain time or it can be sent automatically by using ''[[:en:create:functions:mailresume|mailResume()]]''.
Line 38: Line 39:
 </code> </code>
  
-**Note:** Please take into consideration that a participant could abandon the first part of the questionnaire. The invitation to take part in the second-wave would then not lead him to the interruption page, but to the page were he abandoned the questionnaire. +**Note:** Please take into consideration that a participant could leave the first part of the questionnaire. The invitation to take part in the second-wave would then not lead him to the page where the questionnaire pauses, but to the page were he left the questionnaire. 
  
-**Tip:** Choose the length of time that the interruption will be displayed. This should not be too long if you send the invitations manually at defined times. Otherwise, a participant who responds extremely late to the first invitationmay be shown the interruption after receiving the second invitation.+**Tip:** Choose the length of time that the pause will be displayed. This should not be too long if you send the invitations manually at defined times. Otherwise, a participant who responds extremely late to the first invitation may be shown the pause after receiving the second invitation.
  
-**Tip**: If you allow the Back button in the questionnaire, you may want to let this stay active on the interruption paage. You achieve this by using ''option('backbutton', false)'' instead of ''buttonHide()''.+**Tip**: If you allow the Back button in the questionnaire, you may want to let this stay active on the page where the questionnaire is paused. You achieve this by using ''option('backbutton', false)'' instead of ''buttonHide()''.
  
  
en/create/functions/buttonhide.txt · Last modified: 15.01.2015 20:28 by alexander.ritter
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki