I was not sure how to name this topic, and I also couldn't think of a term to search for to find the answer, so I apologize now if the answer is already on here.
I have a form and this is the code:
<form action="http://wwtele.com/cgi-sys/formmail.pl" method="post" name="Contact" dir="ltr" lang="en">
<input type="hidden" name="recipient" value="MYEMAIL">
<input type="hidden" name="subject" value="SUBJECT LINE">
<input type=hidden name="redirect" value="REDIRECT PAGE">
Name:<input name="realname" type="text" size="30" />
<input type="hidden" type="text" value="REAL-NAME-VALUE-HERE" name="name" />
Phone:<input name="Phone-Number" type="text" id="Phone-Number" tabindex="2" size="30" />
Email:<input name="Email" type="text" id="Email" tabindex="3" size="30" />
Message:<textarea name="Message" cols="30" rows="4" id="Message" tabindex="4"></textarea>
<input type="submit" name="Submit" id="Submit" value="Submit" />
<input type="reset" name="Reset" id="Reset" value="Reset" />
</form>
That is the code for the whole form.
<input name="realname" type="text" size="30" />
That section of the code is used by the form script so that the persons name gets put into the "From:" on the email that is sent to me. The problem is, then it does not show their name in the email, just the from line. I would like for it to be in the email aswell.
That is what I hoped I could use this line for:
<input type="hidden" type="text" value="REAL-NAME-VALUE-HERE" name="name" />
I was hoping that I could some how use PHP (or another language, I just figured PHP was the one to use) to put their name in a variable and then into the value for that text field so that their name shows in the email.
So I basically want their name to be copied and pasted into the value section of this field.
Any help on this matter would be appreciated.
Key