Skip to content

Tag Definition: checkboxField

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']

checked

none

false

['yes', 'no', '0', '1', 'true', 'false']

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']

shape

none

square

['square', 'circle']

size

implied

None

textColor

implied

None

tooltip

implied

None

x

implied

None

y

implied

None

Can contain
(param*)

Purpose

This lets you add a checkbox form field that can be edited and saved with the pdf.

Example usage

<template>
    <pageTemplate id="Page" pageSize="(595, 842)">
        <pageGraphics>
            <checkboxField name="checkbox" x="150" y="700" size="25" tooltip="tooltip checkbox"/>
        </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> ➔ <checkboxField>