Authors:
Cameron Johns, Cille Schliebitz, Anita Gu
Changed on:
3 Feb 2025
This lesson completes the custom form field component by implementing the crucial step of outputting the captured data to the form's submitted payload. We'll learn how to use the
`onChange`
`FormFieldProps`
`locationRef`
`quantity`
`onChange`
`StockReservationPayload`
`locationRef`
`quantity`
`onChange`
`onChange`
`reservationDetails`
In this lesson, you will complete the custom form field component by producing the result from the field back to the form, which will be posted when you submit it.
A form field must produce a result to be added to the post-payload of a form submit action.
Refer to the video below to complete the following steps:
`useEffect`
`onChange`
`FormFieldProps`
`FormFieldProps`
`StockReservationPayload`
`locationRef`
`quantity`
`onChange`
`reservationDetails`
This video explains how to reuse the result from the field back in the form
Copyright © 2025 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.