The Manual Document screen enables secure ID capture from your users. You can configure it to collect one or multiple forms of identification, with full customization options.
The Manual Document screen enables secure ID capture from your users. You can
configure it to collect one or multiple forms of identification, with full
customization options.
const document = oneSdk.component('form', { // Set component name to identify this as document collection screen name: "DOCUMENT", // Use manual input mode rather than OCR scanning type: "manual", // Require user to submit two forms of identification numberOfIDs: 2, // Configure the main heading title: { label: "Choose Your Identification" }, // Add explanatory text below the heading descriptions: [ {label: 'We need two forms of ID to verify your identity'} ] // Add logo to top of the page logo: { src: './assets/logo.png' // path to your logo }, style: { 'ff-logo': { 'width': '50px' } }});
Copy
Ask AI
const document = oneSdk.component('form', { // Set component name to identify this as document collection screen name: "DOCUMENT", // Use manual input mode rather than OCR scanning type: "manual", // Require user to submit two forms of identification numberOfIDs: 2, // Configure the main heading with custom styling title: { label: "Identity Verification", style: "custom-title-class" // Apply custom CSS class to title }, // Add explanatory text with custom styling descriptions: [ { label: 'Please provide two government-issued IDs', style: 'ff-description' // Apply OneSDK's built-in description styling } ], // Add logo to top of the page logo: { src: './assets/logo.png' // path to your logo }, style: { 'ff-logo': { 'width': '50px' } }});
descriptions: [ { label: 'Please provide a valid government-issued ID', style: 'ff-description' // Optional styling }, { label: 'Accepted formats: passport, driver's license, or national ID', style: 'ff-description' }]
Multiple ID Text Customization
Use labels instead of label if you need to provide different text for each document when collecting multiple IDs.
Copy
Ask AI
const documents = oneSdk.component('form', { name: 'DOCUMENT', type: 'manual', numberOfIDs: 2, title: { labels: ['Title for first ID', 'Title for second ID'], }, descriptions: [ { labels: [ 'Label for first ID.', 'Label for second ID.', ], }, ], subtitle: { labels: [ 'Subtitle for first ID', 'Subtitle for second ID', ], },});