Solved

HTML TEXTAREA

Posted on 2000-03-20
4
780 Views
Last Modified: 2008-02-01
Hi,

Does anybody know if it's possible to insert 'bullets' (that can be displayed and saved to database), within a HTML Textarea?

(Do I have to use unicode char - and if so what is it?)

Thanks, Andy
0
Comment
Question by:amtate
4 Comments
 

Expert Comment

by:Fuzzhead
ID: 2636972
I have never heard, or seen it done
anywhere.
0
 
LVL 4

Expert Comment

by:mberumen
ID: 2637027
Andy:  while you can not create true bullets, you could simulate them by storing the contents of your textarea as a memo field in your table.

for example if you want to create a new bullet everytime the user presses enter inside the text box then you can validate the text and replace the chr(10) + chr(13) it with a  bullet sign .

for example

strtextsubmitted=request("textarea")
strtextwithbullets=replace(strtextsubmitted, chr(10)+chr(13),"<br>•")

'store in table

when you read it from the database and display it it should display as a bulleted list...

i may be completely off and I haven't tested this code.. any ideas anyone?
0
 

Accepted Solution

by:
mborgetti earned 35 total points
ID: 2637313
The above would work provided you truly want to display your data in something other than a textarea at some point in time.

However, before bringing the data back into the text area you would have to convert the "<BR>" back into chr(10)+chr(13). Your best bet would be to not store true bullets at all since what you can enter into a text area is so limited.
0
 

Author Comment

by:amtate
ID: 2639388
Thanks ...
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

810 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