Migration from v2 to v3
See the following steps to migrate from Rapid Form v2 to v3.
Import the useRapidForm
hook from rapid-form
package.
Replace the handleSubmit
, reset
, and submitValidation
functions with the refValidation
function.
Use the refValidation
function to validate the form fields.