jkruer01
01-12-2004, 02:56 PM
Hello,
I am trying to put the value of a field into a text area and I get the following error in the textarea:
<font face="Arial" size=2>
<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a000d'</font>
<p>
<font face="Arial" size=2>Type mismatch: 'HTMLEncode'</font>
<p>
<font face="Arial" size=2>/changeContact.asp</font><font face="Arial" size=2>, line 192</font>
Below is what my code says:
<span class="bold">Notes:</span>
Is this comment <span class="urgent">URGENT</span>? Yes<input type="radio" name="urgent"
<%
if edit=1 then
if rs("Urgent")="Y" then
%>
checked
<%
end if
end if
%> value="Y" /> No<input type="radio" name="urgent" value="N"
<%
if edit=1 then
if rs("Urgent") <> "Y" then
%>
checked
<%
end if
else
%>
checked
<%
end if
%> /><br />
<span class="subInfo">
<textarea name="Notes" cols=75 rows=6><%
if edit=1 then
if rs("Notes")<>"" then
Response.Write( Server.HTMLEncode(rs("Notes")) )
end if
end if
%></textarea>
</span>
Does anyone have any suggestions as to why I am getting this error?
I would really appreciate some help.
THanks.
I am trying to put the value of a field into a text area and I get the following error in the textarea:
<font face="Arial" size=2>
<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a000d'</font>
<p>
<font face="Arial" size=2>Type mismatch: 'HTMLEncode'</font>
<p>
<font face="Arial" size=2>/changeContact.asp</font><font face="Arial" size=2>, line 192</font>
Below is what my code says:
<span class="bold">Notes:</span>
Is this comment <span class="urgent">URGENT</span>? Yes<input type="radio" name="urgent"
<%
if edit=1 then
if rs("Urgent")="Y" then
%>
checked
<%
end if
end if
%> value="Y" /> No<input type="radio" name="urgent" value="N"
<%
if edit=1 then
if rs("Urgent") <> "Y" then
%>
checked
<%
end if
else
%>
checked
<%
end if
%> /><br />
<span class="subInfo">
<textarea name="Notes" cols=75 rows=6><%
if edit=1 then
if rs("Notes")<>"" then
Response.Write( Server.HTMLEncode(rs("Notes")) )
end if
end if
%></textarea>
</span>
Does anyone have any suggestions as to why I am getting this error?
I would really appreciate some help.
THanks.