59 redirect(
"survey_response_intro?survey_id={$survey_id}");
66 redirect(
"survey_response_intro?survey_id={$survey_id}");
72 redirect(
"survey_response_intro?survey_id=$survey_id");
77 $response->filter =
new ExclusionFilter(
"last_modified",
"include_in_results");
79 $form->hide(
"survey_id",
"token",
"email",
"last_modified",
"status");
81 $form->button(
"Revise Survey",
"survey_response_form?survey_id=$survey_id&token=$token");
88 redirect(
"survey_response_confirmation?survey_id={$survey_id}");
94 <p>A preview of your responses is shown below. To submit your survey,
95 scroll to the bottom of the
page and click the
"Submit" button.</p>
97 echo
"<h3>".
$response->Survey()->title .
"</h3>\n";
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(! $survey->isOpen() OR ! $response->isEditable()) $view
if(! $survey_id) if(! $token) $response
if($method=="POST") $script