Form Elements

Besides standard HTML form elements, RAPID-N also provides a rich set of advanced form elements to facilitate data entry. The supported form elements are described below:

REMARK: Form elements may appear differently in different web browsers.

Text

Standard single-line text field.

Token

Single-line text field restricted to basic characters of the Latin alphabet (a-z), numbers (0-1), and under-score (_). String literal may be in lowercase depending on the context. Examples: natural_hazard, k2

HTML

Single-line text field, which supports XHTML tags and entities. All XHTML entities and the following XHTML tags are supported: (bold), (italic), (subscript), (superscript). Refer to W3C XHTML Recommendation for a complete list of supported entities (W3C, 2002). Examples: PGAh, x2

Textarea

Standard multi-line text field.

Wiki

Multi-line text field supporting wiki tags. Wiki elements use a simple markup language to create formatted text output. Headings, lists (ordered and un-order), links (internal and external), images and inline contents are supported. Available wiki commands are listed in Table 3.1.

Table 3.1 Wiki commands

Code

Multi-line text field supporting function codes. PHP codes can be entered in these fields. Property estimators support an enhanced version of code fields. See Property Estimators section for more details.

Integer

Single-line text field restricted to integer numbers. Numeric literals may be signed depending on the context. Examples: 1, -2, +3

Decimal

Single-line text field restricted to decimal numbers. Numeric literals may have an integer part or fractional part, or both. They may be signed depending on the context. Examples: 1, .2, 3.4, -5, -6.78, +9.10

Scientific

Single-line text field restricted to scientific numbers. Numeric literals are represented in scientific notation with a mantissa and exponent. Mantissa may be signed depending on the context, exponent may be signed unconditionally. Examples: 1.2e3, 1.2e-3, -1.2e3, -1.2e-3.

Drop-down list

Standard drop-down list.

Combo box

Combination of a drop-down list and a single-line text field. Combo box elements allow the user to either type a value directly or choose from the list of existing options. Use the pencil icon next to the control to switch between text field and drop-down list.

Checkbox

Standard checkbox.

Unit

Form element for entry of scientific units. Depending on the form settings, unit fields may be displayed in three different ways. A single-line text field allows the unit to be entered manually. The entered unit value is validated by the system. A drop-down list allows the unit to be selected from a set of pre-defined options. The unit may also be fixed to a certain value, which is displayed as a remark. Examples: cm/s2, kg, mg/L

URL

Single-line text field restricted to web addresses. All components of http and https schemes are supported. The scheme part is optional. Examples: http://ipsc.jrc.ec.europa.eu, www.tubitak.gov.tr

Coordinate

Form element for entry of coordinates as expressed by latitude and longitude. Latitude and longitude should be entered in the first and second text fields, respectively. Three different formats are supported:

Coordinates can be entered in any of the above three formats. The system automatically detects the format and converts the coordinate value into standardized format for data storage. Coordinate fields may be linked to maps for interactive entry of the coordinate by marking it on the map. See "Mapping" section for details.

Date

Single-line text field restricted to date values. Date can be entered manually or can be selected from the calendar widget accessible by clicking the calendar icon next to the text field. Three different formats are supported:

Depending on the user interface language and user settings only one format is activated.

Time

Single-line text field restricted to time values. Depending on form settings, HH:mm or HH:mm:ss formats are supported. Examples: 16:45, 22:23:45

Datetime

Combination of date and time fields.

Year

Single-line text field restricted to year values. Four-digit year values are supported.

File

Standard file upload field. The maximum file size that can be uploaded is indicated as a remark. Depending on the form settings, it can be restricted to selected file types either by extension or MIME type. Supported file types are indicated as remark.

Reference

Form element for the selection of a reference record. By using the reference element, a specific record of a certain record type can be selected. Pressing the selection button directs the user to the listing page of the record, where records can be queried by user-defined criteria. Selection of a record from the list of records directs the user back to the data entry form. The selected record is shown as single-line summary information.

Dynamic List

Form element that allows entry of multi-row data. Dynamic lists use other form elements to create data entry rows. A new data row can be inserted below a certain row by pressing the plus button at the end the row. The minus button can be used to remove a data row.

Multilingual Elements

Form element that allows data entry in multiple languages. Multilingual elements are based on other form elements. The form field of the base element is repeated for each supported language. The language of each item is indicated next to the form field by a two-character language code. For more information on multilingual features of the system, see the "Multilingual Support" section.

Risk Değerlendirmesi

Doğal Afetler

Endüstriyel Tesisler

Bilimsel

Kullanıcılar