PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
ComPDF for Web supports automatic navigation to the next form field after a user completes filling the current one.
After WebViewer is initialized, auto-navigation for form filling is disabled by default. You can enable auto-navigation for forms or signatures with setConsecutiveType API after initialization.
docViewer.setConsecutiveType('signForm') // signForm || sign || form
// Disable auto-navigation for form filling
docViewer.setConsecutiveType(false)Additionally, during navigation, you can use the enableSkipNoRequired and disableSkipNoRequired API to set whether to skip non-required form fields or signatures. You can also use isSkipNoRequired to check if non-required form fields or signatures are currently being skipped.
docViewer.enableSkipNoRequired()
docViewer.disableSkipNoRequired()
const isSkipNoRequired = docViewer.isSkipNoRequired()