contentType Property

Summary

Gets the document form field text content validation type.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentTextFormField.prototype, 'contentType', 
   get: function() 
) 
readonly contentType: number; 

Property Value

The document form field text content type. The default value is DocumentTextFormField.contentType_Unrestrained.

Remarks

This value is used to define the style and type of the DocumentChoiceFormField. The following table lists the supported form field types:

Value Member Description
DocumentTextFormField.contentType_Unrestrained 0 Unrestrained text field type
DocumentTextFormField.contentType_Custom 1 Custom (User) text field type
DocumentTextFormField.contentType_Number 2 Number text field type
DocumentTextFormField.contentType_Date 3 Date text field type
DocumentTextFormField.contentType_Time 4 Time text field type
Requirements

Target Platforms

Help Version 23.0.2024.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.