4 Replies Latest reply on Oct 27, 2008 8:11 AM by bregent

    Submit Button sent to two email address

    rraskey
      I have a form with a submit button that sends the content to an email address via "cc". I need the "to" to send to an email address that the user provides when filling out the form. How do I get the information the user filled out in a field to regenerate itself in the "to" line of the submit button email? The code is below, with the "?????" representing the text I'm missing to represent the email address the user entered in a form field called "NomineeEmail" .

      <input type="hidden" name="mreturn" value=" http://intranet/index/">
      <input type="hidden" name="mfrom" value="sample@sample.com">
      <input type="hidden" name="msubject" value="Nomination">
      <input type="hidden" name="mtype" value="html">
      <input type="hidden" name="mto" value="??????">
      <input type="hidden" name="mcc" value="rraskey@sample.org">
      <input type="hidden" name="mreturnmsg" value="<center>Thank you for your submission.</center>">