yucky-goldY
Refine3y ago
5 replies
yucky-gold

Submit a form within another form's onSubmit.

I have 2 forms via useForm
const form_A = useForm({...});
const form_B = useForm({...});

When form_A is submitted, I would also like form_B to be submitted. How would one programatically trigger the submission of form_B when the submission of form_B occurs?
Was this page helpful?