How to redirect the users to a different form with the conditional logic?