I am trying to learn Coldfusion from a book entitled 'Coldfuions MX with Dreamweaver MX'.
However the first exercise doesnt appear to work.
I an getting this error:
Element EMAIL1 is undefined in FORM
As I am a beginer I am not sure what to do.
Here is the main part of my page:
Code:
<form name="form1" method="post" action="action.cfm">
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Email</td>
<td><cfoutput>#Form.email1#</cfoutput></td>
</tr>
<tr>
<td>Conformation Email </td>
<td><cfoutput>#Form.email2#</cfoutput></td>
</tr>
<tr>
<td>Newsletter Format </td>
<td><cfoutput>#Form.format#</cfoutput></td>
</tr>
</table>
<p> </p>
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input name="email1" type="text" id="email1"></td>
<td>Email address </td>
</tr>
<tr>
<td><input name="email2" type="text" id="email2"></td>
<td>Email address confirm </td>
</tr>
<tr>
<td><p>
<label>
<input type="radio" name="format" value="html">
HTML Format</label>
<br>
<label>
<input type="radio" name="format" value="text">
Text Format</label>
<br>
</p></td>
<td><input type="submit" name="Submit" value="Submit">
<input type="reset" name="Submit2" value="Reset"></td>
</tr>
</table>
</form>
I think the idea of the page is that you enter date into the form on the page, press submit and on the same page the data is displayed.
Thanks.
PS - are there any Coldfusion forums? I had a google but couldnt see any.
PPS - is it just me or does this site not render very well in Firefox 2?
|