55 $page->page_title =
"Survey Introduction";
60 $page->page_title .=
" for {$survey->title}";
70 $survey->filter =
new InclusionFilter(
"title",
"introduction",
"instructions",
"start_date",
"end_date",
"user_id",
"status",
"allow_anonymous_responses",
"show_preview_before_submitting");
72 $form->required(
"title");
73 $form->hide(
"user_id",
"status");
74 $form->unique(
"title");
76 $form->annotate(
"end_date",
"date on which survey closes to respondents");
77 $form->getRenderer(
"introduction")->rows = 8;
78 $form->alias(
"confirmation_message",
"Confirmation Message for Respondents",
79 "introduction",
"Introduction for Respondents");
83 $form->readOnly(
"end_date");
87 $form->readOnly(
"start_date");
93 $form->group(
"all",
"title",
"start_date",
"end_date",
"introduction");
104 redirect(
"survey_dashboard");
107 $tabs->queryString =
"survey_id={$form->data->survey_id}";
117 <div
id=
"survey_tab_border">
123 <div
id=
"survey_tab_border">
124 <button
id=
"next_page_button" class=
"button"
125 onclick=
"go('<?echo $tabs->getNextPage() ?>')">Next
Page »</button>
129 <h3>
Survey Introduction</h3>
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
static surveyTabs($key="")
$method
Pull out a simple reference to the request method.