axf:field-maxlen

(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Category Acroform in PDF Output

Specifies the maximum number of characters which can be entered into the text field. [no-LT]

Value:<number>
Initial:0
Applies to:axf:form-field
Inherited:no
Percentages:N/A

When 0 or less is specified, the number of characters is not limited.

CAUTION:When the maximum number of characters is specified and the number of characters set as initial value of the text field in axf:field-default-text exceeds the specified maximum number, the initial value will be discarded.

XSL-FO sample:

<fo:root hyphenation-push-character-count="1" hyphenation-remain-character-count="1" font-size="12pt" font-family="Arial" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions">

Text Box

Radio Buttons

Option 1

Option 2

Checkbox

Dropdown List

option1

option2

option3

List Box

option1

option2

option3

option4

option5

option6

Password Box

Text Area

Submit Button

Download der Beispiele

Output:

Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: