I want to validate this first and if it validates then go to the next step.
const validationSchema = Yup.object({
fName: Yup.string().required("field is mandatory"),
lname: Yup.string().required("field is mandatory"),
email: Yup.string().email(),
});
Form Image
https://i.stack.imgur.com/mXWjV.png