Solved

HTML TEXTAREA

Posted on 2000-03-20
4
778 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Select TOP 5 COUNT(*) 13 55
if form parameter is null redirect 2 45
add custom headers to my mail 2 42
Select2 jquery help 9 46
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…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

747 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now