Tag Definition: radioField
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 |
|
buttonStyle |
none |
check |
['check', 'cross', 'circle', 'star', 'diamond'] |
dashLen |
implied |
None |
|
fieldFlags |
implied |
None |
|
fillColor |
implied |
None |
|
forceBorder |
none |
false |
['yes', 'no', '0', '1', 'true', 'false'] |
name |
implied |
None |
|
relative |
none |
true |
['yes', 'no', '0', '1', 'true', 'false'] |
selected |
none |
false |
['yes', 'no', '0', '1', 'true', 'false'] |
shape |
none |
square |
['square', 'circle'] |
size |
implied |
None |
|
textColor |
implied |
None |
|
tooltip |
implied |
None |
|
value |
implied |
None |
|
x |
implied |
None |
|
y |
implied |
None |
|
Can contain |
Purpose
This lets you add a radio form field that can be edited and saved with the pdf.
Example usage
<template>
<pageTemplate id="Page" pageSize="(595, 842)">
<pageGraphics>
<radioField name="radio" x="150" y="600" size="25" tooltip="tooltip radio" value="1"/>
<radioField name="radio" x="200" y="600" size="25" tooltip="tooltip radio" value="2" selected="1"/>
</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> ➔ <radioField>