title: How to Pre-fill custom form after error in form submission in Magento?
body: <p>How can I get pre-filled form in case of mistake in filling some form  element(s) in Magento?</p>
  
  <p>I have a custom module with form similar to contacts form but it has recaptcha. So the customer need to insert captcha code along with other required fields. </p>
  
  <p>Suppose customer makes mistake in filling recaptcha, so they will be redirected to same page but I see the form data disappeared after redirection. So what I want is to preserve form fields so that they don't need to fill them again and again.</p>
  
  <p>Any help will be greatly appreciable.</p>
  
  <p>Thanks</p>