onFormComplete()
This event handler runs when a user completes the entire form.
Overview
Detect Form Completion in Mobile Embed
iOS Webkit
Android WebView
React Native WebView
Usage
import { init, Form } from '@feathery/react';
function App() {
// Initialize Feathery
init('SDKKey', 'bob@feathery.io');
// Show the `aBcDeF` Feathery form
return <Form
formId='aBcDeF'
// Route to a new webpage
onFormComplete={(context) => {
context.openUrl("https://google.com")
}}
/>
}Context API
Key
Type
Description
Return value
Last updated
Was this helpful?