Skip to main content

ApiTextField

ApiTextField is a subclass of ApiBaseField.

Methods

MethodReturnsDescription
AddWidgetApiWidgetAdds new widget - visual representation for field
ClearFormatbooleanClears format of field.
DeletebooleanRemoves field from document.
GetAllWidgetsApiWidget[]Gets array with widgets of the current field.
GetCharLimitnumberGets text field chars limit. <note> Char limit 0 means field doesn't have char limit
GetClassType"textField"Returns a type of the ApiTextField class.
GetFullNamestringGets field full name.
GetPartialNamestringGets field partial name.
GetValuestringGets field value
IsCombbooleanChecks if text field is comb.
IsMultilinebooleanChecks if text field is multiline.
IsReadOnlybooleanChecks if field is read only
IsRequiredbooleanChecks if field is required
IsScrollLongTextbooleanChecks if text field can scroll long text.
SetCharLimitbooleanSets text field chars limit. <note> Char limit 0 means field doesn't have char limit
SetCombbooleanSets text field comb prop. 💡 Should have char limit more then 0
SetDateFormatbooleanSets date format for field.
SetFullNamebooleanSets new field name if possible.
SetMaskbooleanSets mask for entered text for field.
SetMultilinebooleanSets text field multiline prop.
SetNumberFormatbooleanSets number format for field.
SetPartialNamebooleanSets new field partial name.
SetPercentageFormatbooleanSets percentage format for field.
SetReadOnlybooleanSets field read only
SetRegularExpbooleanSets regular expression validate string for field.
SetRequiredbooleanSets field required
SetScrollLongTextbooleanSets text field can scroll long text prop.
SetSpecialFormatbooleanSets special format for field.
SetTimeFormatbooleanSets time format for field.
SetValidateRangebooleanSets validate range for field. 💡 Can only be applied to fields with a percentage or number format.
SetValuebooleanSets field value