473,385 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Fester Bestertester

Hello all,

Our Systems Team is creating a form that will enable users to submit an
application,which includes an essay.

The problem: When the user submits the essay through the text form
field, the result we see is one solid block of text with no breaks. We
are trying to avoid depending on the student to add <pfor each paragraph.

What coding is required to translate the keystroke "Enter" as <p>, so
the output will contain paragraph breaks. Of course, the code must be
508 compatible.

Thanks for your help.
Aug 27 '07 #1
2 1431
On Mon, 27 Aug 2007 14:39:59 -0700, Fester Bestertester wrote:
Hello all,

Our Systems Team is creating a form that will enable users to submit an
application,which includes an essay.

The problem: When the user submits the essay through the text form
field, the result we see is one solid block of text with no breaks. We
are trying to avoid depending on the student to add <pfor each paragraph.

What coding is required to translate the keystroke "Enter" as <p>, so
the output will contain paragraph breaks. Of course, the code must be
508 compatible.

Thanks for your help.
nl2br is what I use when working with text areas... Seems to maintain the
formatting pretty well.

--
I told you this was going to happen.

Aug 27 '07 #2
Fester Bestertester wrote:
Hello all,

Our Systems Team is creating a form that will enable users to submit an
application,which includes an essay.

The problem: When the user submits the essay through the text form
field, the result we see is one solid block of text with no breaks. We
are trying to avoid depending on the student to add <pfor each paragraph.

What coding is required to translate the keystroke "Enter" as <p>, so
the output will contain paragraph breaks. Of course, the code must be
508 compatible.

Thanks for your help.
str_repl()
Aug 28 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Fester Bestertester | last post by:
Okay, here's the bonehead question of the day: Is there some syntax or command line switch that I can use to call a Public Sub from a command line? If so, what is the syntax? The purpose: if I...
18
by: Fester Bestertester | last post by:
Greetings, I'm an occasional php/mysql dabbler. I have a basic data form with a submit button. Unfortunately, it's still possible for the user to enter data changes and close the window,...
4
by: Fester Bestertester | last post by:
Greetings, I'm still using MS Access 2K3 and DAO 3.6 objects (I know, I know, I'm a dinosaur)... I'm traversing through the fields of a table to retrieve their data types, thus, Dim...
1
by: Fester Bestertester | last post by:
I think I already know the answer to this but... Is there a way, in the Query Design Grid tool, to create a make table query that prompts the user for the name of the table at run time? I know...
4
by: chimambo | last post by:
I have 2 problems: 1. I want to import a single text file into an access table using a Macro. I am however getting an error that I need to put a specification name argument. What does this mean?...
31
by: zdenko | last post by:
I have a multi user database and users were created by user level security wizzard - as I mentioned in message before. Everything works fine for those users, but now I have another problem. I have...
4
by: mirandacascade | last post by:
Not sure if 'introspection' is the correct term, so apologies if subject line is off-base. 1) Is there any functionality that answers the question: what module am I in? 2) Is there any...
7
by: PW | last post by:
Any suggestions, knowledge base articles, books? We are not going to go field level but now we have a couple clients that would like to limit what employees can see of our application (forms and...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.