Javascript: TXTextControl.NextIfField.preserveFormatting Property
Description
Specifies whether the field's formatting should be preserved.
Syntax
<boolean> TXTextControl.NextIfField.preserveFormattingExamples
The following example demonstrates TXTextControl.NextIfField.preserveFormatting in a practical document-editing workflow. It specifies whether the field's formatting should be preserved.
function inspectPreserveFormatting(nextIfField) {
const preserveFormatting = nextIfField.preserveFormatting;
console.log("preserve formatting:", preserveFormatting);
}