Survey designs
Survey designs define the appearance of surveys, including the colors, the fonts, the images, etc. Think of surveys as where you define the HTML for a survey and the design as where you define its CSS.
For each design, you can add one or more variations, which are useful for maintaining multiple versions of a similar design.
Designs exist as a separate entity from surveys to allow a single survey to be paired with different designs depending on design rules. When a survey is created, it must have either a Design or a Variation associated to it. In Anonymous surveys, this association happens when the survey taker opens the survey link. But, for personalized surveys, design rules are evaluated per each Invitation email when it completes the sampling process.
To use and access Survey designs, see Access Shared assets.
Survey designs screen
Survey designs lists all the available designs and their variations, if any, for that particular company instance. Designs are sorted alphabetically by name, can be filtered by Program.
- Details pane
- Details pane menu
- Details pane tabs
- Search bar
- Filter
Details pane
-
Details tab — Summarizes the most important information of your design, such as:
- Variations — Number of variations for the design. For more information, see Variations.
- Rules — Rule applicable to the design. For more information, see Design rules.
- Created — The date and user that created the design.
- Last modified — The date and user that last modified the design.
-
Rules tab — Rule applicable to the design. For more information, see Design rules.
-
In Use tab — Programs where the design is being used.
Details menu
- Edit design details
- Modifies the design's name, enable design variations, and restrict its properties.
- Preview
-
Selects a survey to test a design. For more information, see Preview designs.Important: To preview a design, you need to have permissions to edit at least one survey. For more information, see Feedback category.
- Download
-
Downloads the design using Medallia Branding format (
.mbf). To upload a design, click New email and select Import design, then select the file to upload. Note that you can only import a parent design.Note: Medallia Branding format (.mbf) files cannot be opened and are not editable. - Delete design
-
Removes the design only if not used. See In use tab for details in which programs the design is being used.
To preview the design, hover over the design thumbnail.
Create and manage designs
Complete these steps to create a new design:
-
From Designs, click New design and choose New Design from the dropdown.
-
Enter the name of the design
-
Optionally, select Enable design variations to create a variant of the design, and restrict some its properties. For more information, see Variations.
-
Click Save.
-
Edit the default content provided by the editor to match your needs.
-
Create a Preview designs of the design.
-
Select the Rules tab and click Add design rule to create a rule applicable to the design. For more information, see Design rules.
Manage designs
To manage a design, hover over the design thumbnail and click Preview to select a survey to preview your design.
Select Edit design to modify the design content. Click the details menu to edit design details and settings or delete the design.
Variations
Variations are variants of a design. Even if they inherit the properties from their parent design, you can make some changes to make them different from its parent design.
To create a design variation:
-
From Designs screen, choose a design and click New variation.Important: The design must have Enable design variations checked to create a new variation.
-
Give the variation a name.
-
Edit the variation content shown in the editor to match your needs.
-
Create a Preview designs of the variation.
-
Select the Rules tab and click Add design rule to create a rule applicable to the design. For more information, see Design rules.
-
Click Continue.
Manage variations
- Preview variation
-
Selects a survey to test a variation. For more information, see Preview designs.Important: To preview a variation, you need to have permissions to edit at least one survey. For more information, see Feedback category.
- Delete variation
-
Deletes the variation only if not used. See In use tab for details in which programs the variation is being used.
Design rules
Design rules determine when a survey uses a particular design or variation. When a survey matches the design rule, it applies the referenced design to that survey. For example, if a rule exists that references the design Brand colors - Germany and has the rule Country = Germany, then this design is applied to the surveys that match that rule.
To create a rule and set its priority:
-
From the Rules tab, select Add design rule.
-
Enter a rule name.
-
Click Add rule to build the design rule. For more information, see Logic, rules, and conditions.
-
Set the rule priority. The priority establishes the position that rule takes relative to the others if a survey matches multiple rules.
-
Click Continue.
Manage design rules
To manage a rule, click the rule menu to:
- Edit rule
- Modifies the rule values.
- Delete rule
- Deletes the rule.
Design editor
The Design editor is the building area where you define how the different elements of the design look and feel. exposes many of the CSS properties that are most commonly edited through a friendly interface with checkboxes and dropdown menus. The editor is divided into several tabs, each with settings that belong to a section.
General
Header and progress bar
Uploads a page logo image, sets header background and border, and progress bar visibility and colors. To insert a page logo, click Choose file to upload a file from your local device.
Questions and content
Text sizes and content colors for different content parts such as questions, choice options, Grid, Rating scale and Text elements.
Buttons and footer
Sets colors for buttons, and defines footer background and link colors.
Advanced
Sets spacing options, custom CSS, and additional images. For more information, see Design editor: Advanced properties .
Revert a variation
On Variations, properties that are different from the original value in the design show a revert icon next to them. Click Revert to revert the variation value of the property to the current value for that property in the parent design.
Preview canvas
Design editor: Advanced properties
Click the Advanced section to configure:
Reduce spacing
The Reduce spacing checkbox fits the survey into a more compact format by reducing the font size, reducing the padding on several elements, and hiding certain unnecessary labels such as the headings Extremely Satisfied, Satisfied, etc.
The dropdown menu can activate this feature always, never, or only for survey takers that view the survey on a mobile device.
Custom CSS
Besides the properties exposed the Design editor, you can edit any of the CSS properties in the design by writing custom CSS code. In Variations, restricting any property in its parent design settings automatically restricts custom CSS, which cannot be enabled in the design editor advanced properties section.
To write custom CSS, select Enable custom CSS and additional images.
CSS properties are applied to all HTML elements that belong to a specific class. You cannot modify the actual HTML code of the survey, since that is automatically generated based on the survey, but you can leverage the existing HTML elements and their classes to apply CSS styles to them.
The example below sets the background color of all elements that belong to a class named example-class to white.
.example-class {
background-color:#FFFFFF;
}
To refer to an element in the survey:
-
From the Survey editor, preview the survey.
-
Find the element you are interested in and use the Inspect Element tool of your web browser to view its HTML code.
-
Take note of the element class property.
In the example below, the selected
<div>HTML element has the class header. On the right, you can see the CSS properties that are applied to it. You can even experiment by changing the values of CSS properties on this panel to see the result rendered on the browser. When you are happy with the results, copy these values to your design and test it.Tip: Not every HTML element supports every property. For more information, see CSS Reference at W3Schools. -
Click Update to validate that the CSS code uses proper syntax and update the canvas preview with the current contents of the Custom CSS. Note that this does not save the code.
$IMG_SOME_FILE$ as it is not guaranteed that the URL works unless hosted in Experience Cloud. If any properties are specified both in a field and in custom CSS, the custom CSS is given priority. For more information, see Design templates for v7 and Customize v7 designs.
Additional images
Add images to apply them via CSS to parts of the design other than the logo and favicon (which are uploaded via fields in the Design editor). For example, you can upload an image and apply it as a background image for the footer.
To add additional images:
-
Open the Advanced tab.
-
Check Enable custom CSS and additional images.
-
Click Choose file.
-
Select an image from your local device. Make sure the image appears listed. To change or delete it, click
delete.
-
Click Copy reference to have a tag that references the image copied to your clipboard. The reference is a string that includes the image name and some additional characters that make it more unique.
For example, an image reference for a file named myimage.jpg could be
IMG_REF_387_MYIMAGE.JPG. -
Paste the image reference where needed in the custom CSS field, wrapping it with a
url()function to process it.
Preview designs
Preview runs a quick test on the design before sending them to actual survey takers. To test your design:
-
While editing a design or variation, click Preview on the Preview canvas.
Alternatively, from Designs screen, click the details pane menu and select Preview design/variation.
-
Select a design and, optionally, one of its variations.
-
Select a survey definition and one of its versions.
-
Click Create preview link.
-
Copy the link to a browser tab and view the results.
Edit designs based on v6 or v6.1 templates
When you edit a design or variation that was created with an older tool and the design is based on the v6 or the v6.1 templates, the Design editor only shows features that are compatible with that version.
The Design editor always creates designs and variations based on the the most recent version of the survey, with one exception. When you create a new variation as a child of an existing design that is based on the v6 or the v6.1 template, the new variation is based on the same template as the parent. When opening this variation, it only shows features that are compatible with its version.
Images
If you click Enable mobile designs, you must also upload a mobile version of each image.
Custom CSS
When editing a legacy design, you can not define properties t through the Design editor. Instead, edit the CSS code directly to set the properties to the desired values.
Since v6 and v6.1 are not responsive to different devices, two separate CSS files exist — one for desktop devices and the other for mobile devices. Enter the CSS for each of these separately.
Preview
There is no Preview canvas for the design. Instead, click Preview to build a preview using one of the existing survey.
