?
Solved

HTML TEXTAREA

Posted on 2000-03-20
4
Medium Priority
?
784 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
[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
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 105 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

765 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