Enum ConditionType
- Namespace
- Dynamicweb.Forms.Rules
- Assembly
- Dynamicweb.Forms.dll
The types of rule conditions.
public enum ConditionType
Fields
Autocomplete = 0Specifies 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 = 1Specifies that the input field should automatically get focus when the page loads.
Compatible field types: all.
Cols = 10Specifies the visible width of a text area.
Compatible field types: text area.
Disabled = 7Specifies that the input field is disabled.
Compatible field types: all.
Max = 3Specifies the maximum value for an input field.
Compatible field types: number, range, date, datetime-local, month, time and week.
MaxLength = 9Specifies the maximum allowed length for the input field.
Compatible field types: text area, text, password, search, email, tel, url.
Min = 2Specifies the minimum value for an input field.
Compatible field types: number, range, date, datetime-local, month, time and week.
Pattern = 4Specifies a regular expression.
Compatible field types: text, search, url, tel, email, and password.
ReadOnly = 8Specifies 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 = 5Specifies 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 = 11Specifies the visible number of lines in the text area.
Compatible field types: text area.
Step = 6Specifies the legal number intervals for an input field.
Compatible field types: number, range, date, datetime-local, month, time and week.