title: Find form value from control name in parameter
body: <p>I need to replace placeholders in an email message with values. The placeholder and form control name are in a custom list <code>&lt;MailReplacements&gt;</code>, this has, for example:</p>
  
  <pre><code>replacement.placeholder = "[UserName]",
  replacement.formcontrol = "NameText.Text",
  </code></pre>
  
  <p>Since <code>[UserName]</code> is literally what I want to use, it works great in my <code>string.Replace</code>. However, how do I use the VALUE of <code>NameText.Text</code> in my string.replace? If I use:</p>
  
  <pre><code>message.replace(replacement.placeholder, replacement.formcontrol); 
  </code></pre>
  
  <p>I understandably get a message where <code>[UserName]</code> is replaced with <code>NameText.Text</code>. How do I get it to replace with the value of <code>NameText.Text</code> (ie "Joe Blow")?</p>
  
  <p>The <code>[UserName]</code> and <code>NameText.Text</code> association is from a custom configuration in <code>web.config</code>. So, I'm not purposely using <code>NameText.Text</code> as a string, I'm receiving it as a string. </p>
  
  <p>I don't know how to turn that string into the value it represents.</p>