Some test text!

menu
search

Fill form fields (Android)

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

Fill form fields UI

This tutorial only applies to Xamarin.Android.

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 field creation
ToolManager.ToolMode[] toolModes = { ToolManager.ToolMode.FormFill };
var tmBuilder = ToolManagerBuilder.From()
    .DisableToolModes(toolModes);

// Add ToolManagerBuilder to your ViewerConfig
var 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