.. include:: /Includes.rst.txt .. _typo3-fluid-form-countryselect: ====================================================== form.countrySelect ViewHelper `` ====================================================== Renders a :html:` .... Prioritize countries -------------------- Define a list of countries which should be listed as first options in the form element:: Additionally, Austria is pre-selected. Display another language ------------------------ A combination of optionLabelField and alternativeLanguage is possible. For instance, if you want to show the localized official names but not in your default language but in French. You can achieve this by using the following combination:: Bind an object -------------- You can also use the "property" attribute if you have bound an object to the form. See :ref:` ` for more documentation. .. _typo3-fluid-form-countryselect_arguments: Arguments ========= .. _form.countryselect_additionalattributes: additionalAttributes -------------------- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Additional tag attributes. They will be added directly to the resulting HTML tag. .. _form.countryselect_data: data ---- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Additional data-* attributes. They will each be added with a "data-" prefix. .. _form.countryselect_aria: aria ---- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Additional aria-* attributes. They will each be added with a "aria-" prefix. .. _form.countryselect_name: name ---- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Name of input tag .. _form.countryselect_value: value ----- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Value of input tag .. _form.countryselect_property: property -------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Name of Object Property. If used in conjunction with , the "name" property will be ignored, while "value" can be used to specify a default field value instead of the object property value. .. _form.countryselect_class: class ----- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` CSS class(es) for this element .. _form.countryselect_dir: dir --- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left) .. _form.countryselect_id: id -- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Unique (in this file) identifier for this HTML element. .. _form.countryselect_lang: lang ---- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Language for this element. Use short names specified in RFC 1766 .. _form.countryselect_style: style ----- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Individual CSS styles for this element .. _form.countryselect_title: title ----- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Tooltip text of element .. _form.countryselect_accesskey: accesskey --------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Keyboard shortcut to access this element .. _form.countryselect_tabindex: tabindex -------- :aspect:`DataType` integer :aspect:`Required` false :aspect:`Description` Specifies the tab order of this element .. _form.countryselect_onclick: onclick ------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` JavaScript evaluated for the onclick event .. _form.countryselect_size: size ---- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Size of select field, a numeric value to show the amount of items to be visible at the same time - equivalent to HTML