Skip Headers

Oracle® CRM On Demand Marketing Release 5.4.10 |
| Contents

Previous | Next |

Home > User Guide > Working with Contacts and L... > About Contact Attributes > Creating Questions and Defi...

# C reating Questions and Defining Answers

When you create attributes, you can define the types of questions and answers that you want the contact to provide.

To create questions

1. From the Quick Access menu on the left, select Create Attribute.

2. Complete the fields to describe the new attribute, then click Save.

3. In the New Question screen, complete the fields for the new question. If you select Single Choice or Multiple Choice for the Question Type, you can enter the answers manually or select from the existing answers.

The following table describes the fields on the New Question screen.

Field Name | Field Description
--- | ---
Question Text | This is the text of the question that users see.
Question Identifier | This is a unique identifier for the question for use in rule definitions. It is useful because you can have multiple questions with the same text and different answer options.
Question Type | A question can accept the answers of the following types: Text, Boolean, Single Choice, or Multiple Choice. For more information on question types, see Question Types.
Data Type | This field is applicable only if the question type is Text. It defines the type of data to be captured for this question. Validations are performed during data capture according to the type. For email data type, the format is checked to make sure a valid email address is provided.
Data Length | This field is applicable only if the answer type is Text. It defines the maximum length for the data to be captured for this question.

## Q uestion Types

The following question types are available:

- Single Choice. One item can be selected from an answer list.

- Multiple Choice. More than one item can be selected from an answer list.

- Boolean. Boolean questions always have either a True or False value. They cannot be blank. If a contact does not answer a Boolean question on a Web form, the result is the field is set to False. If you select Boolean, Oracle CRM On Demand Marketing asks for the answer that is associated with True and False values. You can use existing answers or create new ones.

- Text. Specifies the type of data the user can submit. If you select Text, you must choose one of the following data types:

  - Decimal. This data type must be a fractional number in tenths.

  - Email. This data type must be of a valid email format, such as user@domain.com.

  - Integer. This data type must be a whole number.

  - Phone. This data type must be in one of the following formats:

    France: 1234567890, 12 12 12 12 12, 12-12-12-12-12, +33 (0) 123456789

    Germany: (1234) 1234-1234, (1234)/1234-1234, 1234 1234 1234, 1234 / 1234 1234, 1234 / 1234-1234, +49 12 12345678, 123 12345678

    United Kingdom: (123)1234567, 1234567890, (123)123456, 123456789, +44 (0) 1234 123456, 12345 123456

    United States of America: (123) 123-1234, 123-123-1234, 1234567890

  - Postal Code. This data type must be in U.S. format and one of the following: xxxxx or xxxxx-xxxx.

  - String. This can be any alphanumeric text, including special characters.

  In all cases, data length is the number of characters that the input field accepts. Insight profile attributes can have a maximum of 2000 characters. Demographic profile attributes can have a maximum of 255 characters.

## Enabling Answer Codes

Answer codes are internal codes that Oracle CRM On Demand Marketing uses to uniquely identify answers, while allowing multiple departments to ask the same question in different ways.

When you define a question and pick a list of answers, you can map each answer to an answer code. For example, for the Marital Status attribute, your company can collect information using differently phrased questions, as shown in the following table.

Question | Answers | Answer Codes | Mapping
--- | --- | --- | ---
Are you married? | Yes/No | Married/Single | Yes indicates Married No indicates Single
What is your marital status? | Married/Single | Married/Single | Married indicates Married Single indicates Single

To enable answer codes

1. From the Quick Access menu on the left, select Create Attribute.

2. Select the check box, Enable Answer Codes, then click Save.

3. Click New Answer Codes, enter the values, then click Save.

4. Click New Answers.

5. If you want answers and answer codes to be identical, click Copy Answers from Answer Codes and select the answer codes that you want to copy as answers. If you do not want answers and answer codes to be identical, enter values for the new answers.

If you do not select the Enable Answer Codes check box, you can manually enter answers or select from existing answers. Oracle CRM On Demand Marketing automatically creates answer codes that are identical to the answers.