const personal = oneSDKInstance.component("form", { name: "PERSONAL", mode: "individual", type: "manual", title: { label: "Personal Details", }, descriptions: [ { label: "In this section, we need your personal information", }, { label: "Please enter your information accordingly", }, ],});
Result Handling Forms
Copy
Ask AI
const result_success = oneSDKInstance.component("form", { name: "RESULT", type: "manual", state: "SUCCESS", title: { label: "Complete" }, descriptions: [ { label: "Process is now complete. You can close the page" }, ], cta: { label: "Done" },});const result_fail = oneSDKInstance.component("form", { name: "RESULT", type: "manual", state: "FAIL",});