PFFieldHtmlHelper Methods |
The PFFieldHtmlHelper type exposes the following members.
Name | Description | |
---|---|---|
GetDisabledAttribute |
Gets "disabled" attribute depending on a boolean value.
| |
GetFieldControlId(PFField, Int64, String) |
Returns an unique HTML control Id based on current field name.
Note : characters ".", "_" and " " are automatically removed from the controlName.
| |
GetFieldControlId(PFField, Int64, String, String) |
Returns an unique HTML control Id based on current field name.
Note : characters ".", "_" and " " are automatically removed from the controlName.
| |
GetFieldControlProperties |
Gets Id and Name properties for an HTML control.
| |
LimitTextSize |
FromTrustedHtmlLimits the size of a text.
If the text size exceeds the maxLength, removes last characters and appends " ...".
|