Text field

This article is machine translated.

Attribute Name & Type

Setting Default Description
Selectable by the customer - You must select this field if the customer should be able to make an entry in the frontend.

Description

Setting Default Setting Description
Description - This description serves as a hint to the backend user and is displayed below the input field.

Attribute Configuration

Setting Default Setting Description
Minimum length 0 since 2.2 Here you can require a minimum number of characters.
Maximum length 0 Here you can limit the field length to a certain number of characters.
Input check - The individual options can be found in the following table `Eingabeprüfung`.
Placeholder - since 2.2 Here you can define a HTML5 placeholder for the field.
Mandatory field - If `Durch den Kunden auswählbar` is selected, the product cannot be added to the shopping cart without this information. Otherwise the field will be displayed as mandatory field in the backend when creating a product.
Multilingual - Makes the text field translatable in the backend for a multilingual website.
Date selection - Adds a date picker (!\[Datepicker Icon\](datepicker.gif)) to the text field in the backend or frontend.

Input validation

Input check Description
Numeric characters Allows numeric characters, minus (-), period (.), and space ( ).
Alphabetic characters Allows alphabetic characters, minus (-), period (.), and space ( ).
Alphanumeric characters Allows alphanumeric characters, minus (-), period (.), and space ( ).
Extended alphanumeric characters Allows everything except special characters which are normally encoded for security reasons (#/()<=>).
Date Checks if the input conforms to the global date format.
Time Checks if the input conforms to the global time format.
Date and time Checks whether the input conforms to the global date and time format.
Phone number Allows numeric characters, plus (+), minus (-), slash (/), parentheses (), and space ( ).
E-mail address Checks if the input is a valid email address.
URL format Checks if the input is a valid URL.
Price Checks if the input is a valid price.
Discount Checks if the input is a valid discount. Example: -10%, -10, +10, +10%.
Price surcharge Checks if the input is a valid markup. Example: 10.00, 10%

Search & Filter Settings

Setting Default setting Description
Searchable in frontend - Makes the field, if maintained in the backend, searchable by the search engine.
Add to "Sort by" option list. - Makes the field, if maintained in the backend and visible to the customer, sortable in the list module.
Searchable in the backend - The backend search function will search this field for search terms.
Filterable in the backend - Makes the field can be used as a filter in the backend.

The output of the created attribute in the backend is done via the product types. If you made the text field Durch den Kunden auswählbar it will be automatically displayed in the frontend (using $this->options in the template). Otherwise you can output the attribute in the desired isotope template with the following code <?php echo $this->generateAttribute('InternerName'); ?>.