I'm not sure if this is a file issue or if it's just the way I've set up the document.
I want to pass the following:
<a href="forms/emailpage.cfm?course_oneday.html" target="_blank">email to a friend </a>
To a form which supposed to take the course_oneday.html and populate a field as well as ask for friends name and email address.
Here is the code for emailpage.cfm:
<form name="form" method="post" action="process_email.cfm">
<table border="0" cellspacing="0" cellpadding="5">
<tr>
<td valign="top"><strong>Your name:</strong></td>
<td valign="top"><input name="name" type="text" size="50" maxlength="100"></td>
</tr>
<tr>
<td valign="top"><strong>Your email:</strong></td>
<td valign="top"><input name="useremail" type="text" size="50" maxlength="100"></td>
</tr>
<tr>
<td valign="top"><strong>Friend's name:</strong></td>
<td valign="top"><input name="to" type="text" size="50" maxlength="100"></td>
</tr>
<tr>
<td valign="top"><strong>Friend's email address:</strong></td>
<td valign="top"><input name="email" type="text" size="50" maxlength="100"></td>
</tr>
<tr>
<td valign="top"><strong>Subject:</strong></td>
<td valign="top"><input name="subject" type="text" size="50" maxlength="100"></td>
</tr>
<input name="urladdr" type="hidden" value="#ref#"></td>
<tr>
<td colspan="2" align="center" valign="middle"><input type="submit" value="Send Email"></td>
</tr>
</table>
</form>
The values are then passed to a file (sendpage.cfm) that sends the email to the friend.
I am having trouble with the first stage, in that the value after the "?" is not being passed.
Any help would be appreciated.
Anna
I want to pass the following:
<a href="forms/emailpage.cfm?course_oneday.html" target="_blank">email to a friend </a>
To a form which supposed to take the course_oneday.html and populate a field as well as ask for friends name and email address.
Here is the code for emailpage.cfm:
<form name="form" method="post" action="process_email.cfm">
<table border="0" cellspacing="0" cellpadding="5">
<tr>
<td valign="top"><strong>Your name:</strong></td>
<td valign="top"><input name="name" type="text" size="50" maxlength="100"></td>
</tr>
<tr>
<td valign="top"><strong>Your email:</strong></td>
<td valign="top"><input name="useremail" type="text" size="50" maxlength="100"></td>
</tr>
<tr>
<td valign="top"><strong>Friend's name:</strong></td>
<td valign="top"><input name="to" type="text" size="50" maxlength="100"></td>
</tr>
<tr>
<td valign="top"><strong>Friend's email address:</strong></td>
<td valign="top"><input name="email" type="text" size="50" maxlength="100"></td>
</tr>
<tr>
<td valign="top"><strong>Subject:</strong></td>
<td valign="top"><input name="subject" type="text" size="50" maxlength="100"></td>
</tr>
<input name="urladdr" type="hidden" value="#ref#"></td>
<tr>
<td colspan="2" align="center" valign="middle"><input type="submit" value="Send Email"></td>
</tr>
</table>
</form>
The values are then passed to a file (sendpage.cfm) that sends the email to the friend.
I am having trouble with the first stage, in that the value after the "?" is not being passed.
Any help would be appreciated.
Anna