Skip to content

Tag Definition: listboxField

Generated by rlextra version 4.3.0a1

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
(param | choice)*

Purpose

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

Example usage

<template>
    <pageTemplate id="Page" pageSize="(595, 842)">
        <pageGraphics>
            <listboxField name="listbox" x="150" y="475" width="100" height="100" tooltip="tooltip listbox" value="1">
                <choice label="Option 1" value="1"/>
                <choice label="Option 2" value="2"/>
                <choice label="Option 3" value="3"/>
            </listboxField>
        </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> ➔ <listboxField>