Actions

BeforeLoadResponse

From LimeSurvey Manual

Revision as of 19:49, 21 December 2017 by DenisChenu (talk | contribs) (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When

This event is fired for survey with token (not anonymized), if a response with this token exist.

Input

  • surveyId as integer, the current survey Id
  • responses as array of Response object

Possible output

  • response false or Response object, if false : create a new response, if Response object : reload it (even if survey have tokenanswerspersistence to no or alloweditaftercompletion to no)