Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Form Text Format

Posted on 1997-04-16
2
Medium Priority
?
204 Views
Last Modified: 2013-12-25
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!!!!!!!!

0
Comment
Question by:JEWEL
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
julio011597 earned 100 total points
ID: 1827911
Well, i tried it and you're right; even if documentation sais it should work on Netscape from version 2.0, the WRAP=PHYSICAL doesn't seem to work on Netscape 2.0 nor 3.x.

So i may just suggest, as a work around, to set WRAP=OFF (or just get rid of the WRAP attribute), so compelling the user to insert new-lines him(her)self.

About tutorials, of course there are some books - just have a look at your local bookstore -.
Online you could browse the Netscape site (and IE site) and could make some searches with the well known search engines.
There are also some interesting newsgroups: comp.infosystem.www.authoring.*

HTH, julio
0
 

Author Comment

by:JEWEL
ID: 1827912
Thank you very much julio.

I appreciate you researching the question and providing an answer.


Also, thank you for the leads on information!


0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question