unixtown
|
| Posted: 06/30/2002, 7:24 PM |
|
Hello,
I am going through the code charge examples menu,
and I have just added the custom ASP code on page 52,
this ASP code bascially says if a retreived ID == a session("UserID")
then make a table data cell equal to <font color=blue> & contents & </font>
The comparision mechanism works fine.. where I am having a problem though
is that the statement
tasks.user_id_assign_to.Value="<b><font color=""blue""> & tasks.user_id_assign_to.Value & "</font></b>"
is actually causing <b><font color="blue">John Smith</font></b>
to be printed literally
in essence the < & > tags are being stored as < & >
and therefore the HTML is being literally printed out as literal text..
has anyone else encountered this problem and solved it?
I tried assigning both variables and chr(60) and chr(62) to the cell
value but literal HTML codes are always printed and not interpretted.
Thanks in advance.
|
|
|
 |
Chris K.
|
| Posted: 06/30/2002, 11:56 PM |
|
Make sure to check 'HTML' checkbox (Common tab) in field's properties to allow HTML printing.
|
|
|
 |
|