Design a survey building-a-survey
Create a new survey creating-a-new-survey
This chapter details the designing of a Survey type form using Adobe Campaign, as well as the available options and configurations. Adobe Campaign lets you make this survey available to users and collect and archive answers in the database.
Web forms are accessed via the Resources > Online > Web applications node of the tree. To create a survey, click the New button above the list of applications, or right-click the list and choose New.
Select the survey template (newSurvey by default).
The pages of the form are created using a special editor that lets you define and configure (text) input fields, selection fields (lists, checkboxes, etc.) and static elements (images, HTML content, etc.). They can be collected in “containers” and laid out according to requirements. Learn more).
Add fields adding-fields
The fields in a form enable users to enter information and select options. For each page in the form, they are created via the first button in the toolbar using the Add using the wizard menu.
Types of fields types-of-fields
When you add a field to a survey you need to select its type. The following options are available:
-
Answer a question: this option lets you declare a new field (known as ‘archived field’) to store answers. In this case, all values collected are saved, even when a participant fills in the form more than once. This storage mode is only available in Surveys. Learn more.
-
Edit a recipient: this option lets you select a field in the database. In this case, user answers will be stored in this field. For each participant, only the last value saved is kept, and added to the profile data.
-
Add a variable: this option lets you create a setup so that information is not stored in the database. Local variables can be declared upstream. You can also add them directly when creating the field.
-
Import an existing question: this option lets you import existing questions created in other surveys.
note note NOTE Storage modes and field imports are detailed in this section.
The nature of the field to add (drop-down list, text field, checkboxes, etc.) adapts to the storage mode selected. You can change it using the Type field of the General tab, but make sure to remain consistent with the data type.
The various types of available fields are detailed in this section.
Survey-specific elements survey-specific-elements
Online surveys are based on Web applications capabilities. Survey-specific capabilities are detailed below.
Multiple choice multiple-choice
For Multiple choice type controls, you can define a minimum and maximum number of selections. For example, this option enables you to force the selection to at least 2 values and at most 4 values from the available options:
If the number of selections is too big or too small, the appropriate message is displayed.
The corresponding configuration is as follows:
In addition, the storage location for this input field must be a Multiple values type archived field:
- This functionality is only available for Survey type forms.
- This option isn’t compatible with random question display. Learn more.
Add questions adding-questions
There are two types of containers: standard and question. Standard containers are used to configure page layout and conditional display in a page. Learn more.
Use a Question container to add a question to the page and to insert the possible answers below in the hierarchy. User responses to questions placed in this type of container can be analyzed in reports.
The label of the question is entered in the label field. In this case, the style from the form’s style sheet will be applied. Select the Enter the title in HTML format option to personalize it. This will give you access to the HTML editor.
For example:
In the example above, the rendering will be as follows:
You can enable the random drawing of questions by Adobe Campaign. It is then possible to specify the number of questions to be displayed in the page, in the field located at the bottom of the configuration window.
The rendering will look like this:
When the page is refreshed, the questions displayed are not the same.