This component is a multi-row edit component

Properties


Description

Background color

The Bootstrap color of the background (bg-primary, bg-success, bg-info, bg-warning, bg-danger, bg-light, bg-dark

DataField

Connected database field (DB variant)

DataSource

Name of the data source (DB variant)

Datatype

Basic HTML datatype (email, number etc.). Do not use in combination with input type. This field will use Parsley as validator.

Important: the option 'AlphaNum' implies that you can only enter text characters. However space is not considered to be an alphanumeric value. So if you set this type and expect users to enter a text string without numbers, it will fail if the field contains spaces. Use the pattern field to overcome this. See documentation on Parsley.org.

Default

Default value of the field

Enabled

Future use.

Encode

Use html encoding for security.

EscapeHTML

See PHP documentation

Fieldlength

Max. length of the field

Form

Name of the form to be used with the label (specifying will cause the label to be send with any submit utton to your application

Height

The height of the button in the designer. No function within bootstrap.

Hint

Balloon text on field info

InputType

Type of the field. Do not use in combination of data type.

Label

Descriptive text to be displayed inside the field

LabelBackgroundColor

Bootstrap color of the background

LabelColor

Bootstrap color of the label

LabelPosition

Position of the label. If set 'before' then you MUST apply a device setting to make space for the label.

Left

Location of the component in the designer. No function within bootstrap

MaximumLength

Validation of the field. PHsPeed uses the Parsley library.

MinimumLength

Validation of the field. PHsPeed uses the Parsley library.

PlaceHolder

Text to be displayed inside an empty field

PostText

Text to be displayed before the field

PreText

Text to be displayed after the field

ReadOnly

Makes the field display only

Required

Validation of the field. PHsPeed uses the Parsley library.

RowCount

Number of visible lines

Sanitize

Sanitize field. This prevents entering malicious code and should be considered on fields that are internally long enough to contain scripts. It is an XSS protection, but not required on simple fields.

TextColor

Bootstrap color of the field

Value

The value of the label field.

WhiteList

Whitelist of allowed tags in the field.

PHP Events


Description

OnActivate

Triggers when all components are created

OnBlur

Triggers when a user leaves a field (only in conjunction with the JS Event)

OnChange

Triggers when the content of the field is changed (only in conjunction with the JS Event)

OnCreate

Triggers when the component is created

OnDestroy

Triggers when the component is destroyed

OnFocus

Triggers when the component gets focus (only in conjunction with the JS Event)


JavaScript Events


Description

onBlur

Triggers when the focus leaves the field. (use with the PHP event to intercept)

onChange

Triggers when the field changes (use with the PHP event to intercept)

onFocus

Triggers when the field gets focus (use with the PHP event to intercept)