onError()
This event handler runs when the form runs into a validation error.
Overview
Usage
import { init, Form } from '@feathery/react';
function App() {
// Initialize Feathery
init('SDKKey', '[email protected]');
// Show the `aBcDeF` Feathery form
return <Form
formId='aBcDeF'
onError={(context) => {
context.setStep('Step 4');
}}
/>
}Context API
Key
Type
Description
triggerData Definition
triggerData DefinitionKey
Type
Description
Return value
Last updated
Was this helpful?