Form Text Format
Posted on 1997-04-16
To begin with, I suppose I am what would be classified as a newbie. So, naturally, I would have an interest in resources available on the net that would help me relinquish that current status. So, if anyone can direct me to some sort of tutorials, etc, I would greatly appreciate it!!!
Secondly, I do have a question. I'm sure it is fairly easy. However, being a newbie, I myself am having GREAT difficulty in fixing it myself.
Here is the problem.
I am using CGI form handling scripts that are already installed on my server. One is called CGIEMAIL and is written in C. The other is FormMail, and I am not certain what language it is written in.
Both of them do exactly as they are supposed to. The problem is that the recipient of the mail is complaining that the text from the TEXTAREA of the form appears in on long string, no breaks/carriage returns, etc. The WRAP attribute of the textarea is set to PHYSICAL (which, as I understand is supposed to wrap on the screen and when sent).
The reason this is such a problem for the recipient is because he wishes to print out the form information and is unable to because all the text from the text area runs off of the screen and will not print.
With the FormMail program, I have tried nothing. Every type of customization for this script is provided through hidden input tags. Therefor, I have no clue where to start, especially since this script is on the server for all to use.
The CGIEMAIL program uses an email template that you customize according to the fields you have in the form. This template is simply saved and uploaded as a text file.
I have tried (with my limited knowledge) to insert carriage returns ( \n ) and such hoping that the text might break, but the only thing that happens is the text that is inserted from the form pushes the \n or whatever is placed there to the end of the line.
If anyone can help me to solve this problem or refer me to a form handling script that can format the text as I am hoping it will, I would greatly appreciate it!!!!!!!!