Skip to main content

FV Decipher Support

All the topics, resources needed for FV Decipher.

 
FocusVision Knowledge Base

Attributes for Device Settings

1:  Attributes for Device Settings

1.1:  desktopNotAllowedMessage - Message for Blocked Desktops

The desktopNotAllowedMessage attribute controls the message shown to respondents who enter the survey on a desktop machine when desktops are not allowed.

The default message is:
The device you are using is not allowed to take this survey.

1.2:  deviceNotAllowedMessage - Message for Blocked Devices

The deviceNotAllowedMessage attribute controls the message shown to respondents who enter the survey on a device that isn't allowed to take the survey.

The default message is:
The device you are using is not allowed to take this survey.

1.3:  featurephoneNotAllowedMessage - Message for Blocked Feature Phones

The featurephoneNotAllowedMessage attribute controls the message shown to respondents who enter the survey on a featurephone when featurephones are not allowed.

The default message is:
The device you are using is not allowed to take this survey.

1.4:  mobile - Set the Mobile Device Compatibility Level

The mobile attribute allows you to configure the mobile compatibility for your project. The default, mobile="none", will allow all devices in and will not optimize the content for mobile device screen sizes. If mobile="compat" is specified, the survey will allow all mobile devices and will optimize the content for mobile device screen sizes. If mobile="mobileOnly" is specified, desktop machines (e.g. PC, Mac, etc...) will not be allowed to take the survey. If mobile="noMobile" is specified, only desktop machines will be allowed to take the survey. Learn more.

1.5:  mobileDevices - Specify the Allowed Mobile Devices

The mobileDevices attribute allows you to specify which mobile devices are allowed into the survey. If mobileDevices="smartphone, featurephone, tablet, mobile" is specified, all known mobile devices will be allowed into the survey. Learn more.

1.6:  mobileOnlyMessage - Message for Blocked Non-Mobile Devices

The mobileOnlyMessage attribute controls the message shown to respondents who enter the survey on a desktop machine for a mobile="mobileOnly" survey.

The default message is:
Please come back using your mobile device.

1.7:  noMobileMessage - Message for Blocked Mobile Devices

The noMobileMessage attribute controls the message shown to respondents who enter the survey on a mobile device for a mobile="noMobile" survey.

The default message is:
Please come back using a computer.

1.8:  smartphoneNotAllowedMessage - Message for Blocked Smartphones

The smartphoneNotAllowedMessage attribute controls the message shown to respondents who enter the survey on a smartphone device when smartphones are not allowed.

The default message is:
The device you are using is not allowed to take this survey.

1.9:  ss:disableOfflineDetection - Set to Disable Offline Detection Warning

The ss:disableOfflineDetection attribute allows you to disable the connectivity warning shown to smartphone devices when the connection has been interrupted. If disabled, the overlay shown below will not be shown if the respondent loses connectivity:

1.10:  tabletNotAllowedMessage - Message for Blocked Tablets

The tabletNotAllowedMessage attribute controls the message shown to respondents who enter the survey on a tablet device when tablets are not allowed.

The default message is:
The device you are using is not allowed to take this survey.

1.11:  surveyDisplay - Optimize Survey Layout Based on Device Display Size

The surveyDisplay attribute requires surveys to have a compat level of 125+

The surveyDisplay attribute controls how responsive the survey layout is based on the display size of the device being used.

It is recommended to keep the default value, surveyDisplay="auto", so that the survey will adjust its layout in reaction to the display size.

If surveyDisplay="auto" is specified (default), then the survey layout will change according to the size of the device automatically. If the width of the screen is less than what the @breakpoint value is set to (default is 768px), then the survey will adjust accordingly into a mobile optimized format.

If surveyDisplay="desktop" is specified, then the survey will never optimize for mobile devices.

If surveyDisplay="mobile" is specified, then the survey will always be mobile-optimized.

This attribute can be applied globally to the survey element or locally at an individual question.

Learn more: The Less Styles System

2:  What's Next?

More information about all of the <survey> element's attributes are provided in the documents below: