PC Review


Reply
Thread Tools Rate Thread

How can I get form results posted in HTML to accept line breaks?

 
 
=?Utf-8?B?TEEgYXQgTUNIUw==?=
Guest
Posts: n/a
 
      9th Nov 2005
When I try to put a form that guests can type a paragraph in, it works as a
text area with results showing up on another page that is html. (I am using
HTML as the type under form options). However, when the person hits "ENTER"
to make a new line in the form input box, the results still show one solid
paragraph, with no line break. When I use formatted text, it makes the line
break, but if people DON'T hit enter, then the results scroll all the way
across the page, and it also has an unattractive font, that I can't figure
out how to change. The forms work, but they are not how I want them to look!
 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      9th Nov 2005
White space characters (including spaces, line breaks, tabs, etc) are not
rendered in the browser, except as a single space. This is an HTML rule.
HTML uses tags for line breaks (<p></p> for paragraphs, <br/> for
single-line breaks). So, if you want to format the results, you will need a
custom server-side form handler application.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Complex things are made up of
Lots of simple things.

"LA at MCHS" <LA at (E-Mail Removed)> wrote in message
news:23321175-ABC8-431B-B122-(E-Mail Removed)...
> When I try to put a form that guests can type a paragraph in, it works as
> a
> text area with results showing up on another page that is html. (I am
> using
> HTML as the type under form options). However, when the person hits
> "ENTER"
> to make a new line in the form input box, the results still show one solid
> paragraph, with no line break. When I use formatted text, it makes the
> line
> break, but if people DON'T hit enter, then the results scroll all the way
> across the page, and it also has an unattractive font, that I can't figure
> out how to change. The forms work, but they are not how I want them to
> look!



 
Reply With Quote
 
=?Utf-8?B?QU15c3RpY1dlYg==?=
Guest
Posts: n/a
 
      10th Nov 2005
Not positive this will do the trick, but try switching to "HTML definition
list" as the format.

Mike Smith,

http://FrontPageForms.com
FrontPage Form Tutorials
& Form Script Examples



"LA at MCHS" wrote:

> When I try to put a form that guests can type a paragraph in, it works as a
> text area with results showing up on another page that is html. (I am using
> HTML as the type under form options). However, when the person hits "ENTER"
> to make a new line in the form input box, the results still show one solid
> paragraph, with no line break. When I use formatted text, it makes the line
> break, but if people DON'T hit enter, then the results scroll all the way
> across the page, and it also has an unattractive font, that I can't figure
> out how to change. The forms work, but they are not how I want them to look!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help...Query Results Posted on a Form thenderson Microsoft Access Forms 1 9th Aug 2007 12:34 AM
How to allow Line breaks AND HTML in Textareas tt_chatter@comcast.net Microsoft Frontpage 1 14th May 2007 06:08 AM
Trying to keep HTML code on one line, with no line breaks. please =?Utf-8?B?SmFzb24=?= Microsoft Frontpage 3 27th Sep 2005 12:48 PM
Inserting html line breaks into excel. Ben Allen Microsoft Excel Programming 0 18th May 2005 03:38 PM
Msg in HTML with extra line breaks Vic Microsoft Outlook 2 5th Aug 2004 08:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:27 PM.