title: Javascript A thank you page with user name on it
body: <p>I have a form where a user input name and other contact information. I validate the input and then redirect to a thank you page. I wanted to personalize the page by having the user name appear as part of the thank you note. I tried document.getElementById(Name1).value to retrieve the value of the Name but it it is giving Undefined.
  Is there a way for me to set the value of the Name1 field to another variable that I call again to include it in my text message?</p>