Some test text!

menu
search
Fill form fieldskeyboard_arrow_down

Fill form fields

There are two options to fill form fields. First is using a UI component that can fill form fields. Second is an API guide to programmatically fill form fields.

Fill form fields

Interactive form filling for form fields such as text fields, checkboxes, radio buttons, dropdowns, signatures, etc. is supported by the PDFTron Android SDK.

Form Filling

linkDisable form filling

You can disable form field editing altogether by configuring ToolManager using the ToolManagerBuilder and disabling the FORM_FILL:

// Create a custom ToolManager with disabled form filling
ToolManager.ToolMode[] toolModes = {ToolManager.ToolMode.FORM_FILL};
ToolManagerBuilder tmBuilder = ToolManagerBuilder.from()
    .disableToolModes(toolModes);
    
// Add ToolManagerBuilder to your ViewerConfig
ViewerConfig config = new ViewerConfig.Builder()
    .fullscreenModeEnabled(true)
    .multiTabEnabled(true)
    // ...
    .toolManagerBuilder(tmBuilder)
    .build();

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn more
close