onLoad()
This event handler runs when a step of the form is loaded.
Last updated
Was this helpful?
This event handler runs when a step of the form is loaded.
Last updated
Was this helpful?
This is a prop and callback function to run custom logic when a form step is loaded. It's called every time the user loads a step. This function can be asynchronous.
You can use onLoad
to update internal form state, log events, etc. The function takes a single object that provides form-related state and handlers.
Consistently available form state and functions
A promise can be optionally returned from this function if it's asynchronous and you want execution to await.