title: How can i redirect with form submit to new page in wordpress
body: <h2>I'm trying to build a custom plugin that will show a form</h2>
  <hr />
  <p><a href="https://i.stack.imgur.com/0Nmg5.png" rel="nofollow noreferrer">this is my code</a></p>
  <p>the problem is I cant redirect to second page when I fill up the form but if I leave the input blank it's working.</p>
  <p>I'm stuck in here help me any suggestions would be appreciated.</p>