Using text with value selection
The Text with value selection and the Language-dependent text with value selection attribute types form the basis for creating drop-down menus or product variations. For these attributes, you define various values for the user to select from.
In the details for these attributes, next to the General tab there is an additional Value selection tab. Here you can define a value pool which will be used for this attribute. This allows you to make sure that only the values you suggest can be applied to an attribute.
The following example demonstrates this:
You would like your visitors to enter how they heard about your site on the registration form. You want to set a fixed number of answers which the customer can select from.
Create a
ContactInfo customer attribute of the type
Language-dependent text with value selection. For more on customer attributes, see
Attributes,
below. Create the preset values in the attribute details on the
Value selection tab as shown in
Figure 11.
Figure 11: Value pool for the attribute type Language-dependent text with value selection
Save your entries by clicking Save.
The customer can then use the following drop-down menu in the registration form.
Figure 12: using an attribute with value selection
You can use these attribute types in the administration area, for example, for product attributes. This saves you time when creating elements, helps you avoid mistakes and ensures valid values are entered.