55 redirect(
"survey_response_intro?survey_id={$survey_id}");
60 redirect(
"survey_response_intro?survey_id={$survey_id}");
69 redirect(
"survey_response_intro?survey_id=$survey_id");
73 redirect(
"survey_response_intro?survey_id=$survey_id&token=$token");
76 $response->filter =
new ExclusionFilter(
"include_in_results");
78 $form->onSaveComplete = saveResponse;
84 if (
$survey->show_preview_before_submitting)
86 redirect(
"survey_response_preview?survey_id={$survey_id}&token=$token");
90 redirect(
"survey_response_confirmation?survey_id={$survey_id}");
94 redirect(
"survey_response_form?survey_id={$survey_id}&token=$token");
99 echo
"<h3>".
$survey->title .
"</h3>\n";
102 echo
"<p>" .
$survey->instructions .
"</p>\n";
109 function saveResponse(
$obj)
113 if (
$survey->show_preview_before_submitting)
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
static findResponseByToken($survey_id, $token)
$method
Pull out a simple reference to the request method.
if(! $user) if(! $response_id) $response