Table of Contents

Enum ConditionType

Namespace
Dynamicweb.Forms.Rules
Assembly
Dynamicweb.Forms.dll

The types of rule conditions.

public enum ConditionType

Fields

Autocomplete = 0

Specifies whether an input field should have autocomplete on or off.

Compatible field types: text, search, url, tel, email, password, date pickers, range, and color.

Autofocus = 1

Specifies that the input field should automatically get focus when the page loads.

Compatible field types: all.

Cols = 10

Specifies the visible width of a text area.

Compatible field types: text area.

Disabled = 7

Specifies that the input field is disabled.

Compatible field types: all.

Max = 3

Specifies the maximum value for an input field.

Compatible field types: number, range, date, datetime-local, month, time and week.

MaxLength = 9

Specifies the maximum allowed length for the input field.

Compatible field types: text area, text, password, search, email, tel, url.

Min = 2

Specifies the minimum value for an input field.

Compatible field types: number, range, date, datetime-local, month, time and week.

Pattern = 4

Specifies a regular expression.

Compatible field types: text, search, url, tel, email, and password.

ReadOnly = 8

Specifies that an input field is read-only.

Compatible field types: text area, text, password, search, email, tel, url, date, datetime-local, month, time and week.

Required = 5

Specifies that an input field must be filled out before submitting the form.

Compatible field types: text, search, url, tel, email, password, date pickers, number, checkbox, radio, and file.

Rows = 11

Specifies the visible number of lines in the text area.

Compatible field types: text area.

Step = 6

Specifies the legal number intervals for an input field.

Compatible field types: number, range, date, datetime-local, month, time and week.

Remarks

To top