Tag Definition: textField
Generated by rlextra version 3.6.13
Attributes
Name |
Required? |
Default_Value |
Values |
annotationFlags |
implied |
None |
|
borderColor |
implied |
None |
|
borderStyle |
none |
solid |
['solid', 'underlined', 'bevelled', 'inset', 'dashed'] |
borderWidth |
implied |
None |
|
dashLen |
implied |
None |
|
fieldFlags |
implied |
None |
|
fillColor |
implied |
None |
|
fontName |
implied |
None |
|
fontSize |
implied |
None |
|
forceBorder |
none |
false |
['yes', 'no', '0', '1', 'true', 'false'] |
height |
implied |
None |
|
maxlen |
implied |
None |
|
multiline |
none |
true |
['yes', 'no', '0', '1', 'true', 'false'] |
name |
implied |
None |
|
relative |
none |
true |
['yes', 'no', '0', '1', 'true', 'false'] |
textColor |
implied |
None |
|
tooltip |
implied |
None |
|
value |
implied |
None |
|
width |
implied |
None |
|
x |
implied |
None |
|
y |
implied |
None |
|
Can contain |
Purpose
This lets you add a text form field that can be edited and saved with the pdf.
Example usage
<template>
<pageTemplate id="Page" pageSize="(595, 842)">
<pageGraphics>
<textField name="text" x="150" y="750" value="Test" tooltip="tooltip text"/>
</pageGraphics>
<frame id="Frame 1" x1="30" y1="30" width="535" height="782" showBoundary="1"/>
</pageTemplate>
</template>
Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.
Scroll down in the above link to test_028_fields.rml
and test_028_fields.pdf
Example of nesting path from the parent tags to the current tag
<document> ➔ <template> ➔ <pageTemplate> ➔ <pageGraphics> ➔ <textField>