Etude
05-22-2008, 04:05 PM
Hello:
I just joined today while searching for an answer to my problem. I'm looking for a way to display an HTML string in a Form Textbox. The string is already in HTML format when I extract it from a Quality Center database. The problem is that it displays all the HTML tatgs in the textbox on the form. Ideally, I want to convert the HTML tags (actually, the text between the tags) to its formatted equivalent (ex. "<b>This</b>" to "This"). If that's not possible, I'd just like to rid the tags all-together. Does anyone have any suggestions?
Thanks.
Here's a sample of the string to display in a form textbox:
<html>
<body>
<font color="#000080"><b>MARY ANNE<maryann>, 5/15/2008:</b></font> >>> YAN
5/14/2008 4:44 PM >>><br>
current query is<br>
select term_id, mtid, sum(tran_amt), count(*), SUM(check_nbr)<br>
Please call me.<br>
<br>
Mary<br>
<font color="#000080"><b>________________________________________</b></font><br>
<font color="#000080"><b>YAN<yan>, 5/15/2008:</b></font> fixed and staged in
clearcase.<br>
<font color="#000080"><b>________________________________________</b></font><br>
<font color="#000080"><b>DAVID<david>, 5/20/2008:</b></font> In QC 05/20/08<br>
<font color="#000080"><b>________________________________________</b></font><br>
</body>
</html>
Added line-breaks to code to prevent pagefrom side-scrolling
~Oorang
I just joined today while searching for an answer to my problem. I'm looking for a way to display an HTML string in a Form Textbox. The string is already in HTML format when I extract it from a Quality Center database. The problem is that it displays all the HTML tatgs in the textbox on the form. Ideally, I want to convert the HTML tags (actually, the text between the tags) to its formatted equivalent (ex. "<b>This</b>" to "This"). If that's not possible, I'd just like to rid the tags all-together. Does anyone have any suggestions?
Thanks.
Here's a sample of the string to display in a form textbox:
<html>
<body>
<font color="#000080"><b>MARY ANNE<maryann>, 5/15/2008:</b></font> >>> YAN
5/14/2008 4:44 PM >>><br>
current query is<br>
select term_id, mtid, sum(tran_amt), count(*), SUM(check_nbr)<br>
Please call me.<br>
<br>
Mary<br>
<font color="#000080"><b>________________________________________</b></font><br>
<font color="#000080"><b>YAN<yan>, 5/15/2008:</b></font> fixed and staged in
clearcase.<br>
<font color="#000080"><b>________________________________________</b></font><br>
<font color="#000080"><b>DAVID<david>, 5/20/2008:</b></font> In QC 05/20/08<br>
<font color="#000080"><b>________________________________________</b></font><br>
</body>
</html>
Added line-breaks to code to prevent pagefrom side-scrolling
~Oorang