Added conditon to redirect to form but it shows blank page.