<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
I am using fox and foxnotify to e-mail the contents of a form.<br>
The recipient of the form needs the form contents to be in upper case. <br>
To accomplish this, in the submission form I have:<br>
<br>
||'''Additional Comments'''||||(:input textarea additionalcomment
rows=4 cols=40:)<br>
<br>
and in the foxtemplate I have:<br>
<br>
(:table border=1 width=35%:)<br>
(:cellnr bgcolor=#E7EFF3:)Additional Comments: <br>
(:cell:){(toupper "{$$additionalcomment}")}<br>
(:tableend:)<br>
<br>
As a result the user correctly receives an e-mail with the content
displayed like this:<br>
<br>
<br>
<table border="1" width="35%">
  <tbody>
    <tr>
      <td bgcolor="#e7eff3" valign="top">Additional Comments: </td>
      <td valign="top">TEST FOR FORM WITH NEW EUROPE WIKI LINK<br>
      </td>
    </tr>
  </tbody>
</table>
<br>
However this only works if the submitter types in the submission text
without entering a return or line break. <br>
That is to say the user types the text into the input text area and
does not press the Return key to make a line break.<br>
Example:&nbsp; Instead of.....<br>
<br>
&nbsp;&nbsp;&nbsp; Test for form with
new europe wiki link <br>
<br>
the user types:<br>
<br>
&nbsp;&nbsp;&nbsp; Test for form with
<br>
&nbsp;&nbsp;&nbsp; new europe wiki link<br>
<br>
Then the e-mail sent to the user is broken - it is displayed as this:<br>
<br>
<table border="1" width="35%">
  <tbody>
    <tr>
      <td bgcolor="#e7eff3" valign="top">Additional Comments: </td>
      <td valign="top">{(toupper "Test for form with
      <p>new europe wiki link")}
      </p>
      </td>
    </tr>
  </tbody>
</table>
<br>
I am not sure how to correct this.&nbsp; Any suggestions would be most
welcome.<br>
<br>
Thanks <br>
<br>
Graham<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>