PDA

View Full Version : Website Text Box Help


NRees
27-Oct-2004, 10:53 PM
My Situation: I currently have a fully operational Administration section working over at www.taekwondo-uk.co.uk which is all fine and dandy, except the text boxes (<textarea>) tags I use to input data require you to enter text in the HTML sense (using <br /> as new line etc). I was wondering if there is a piece of code available that is like the box thats surrounding the one im typing into now (the one vB uses) that would create code for bold text, italic text and new lines etc etc. The reason I need something like this is because the people who will be using the Admin section (my instructor) has no idea how to write HTML code, so if he wants 5 spaces then he's gonna hit the return key 5 times :p

Any ideas?

P.S: I'm kinda tired so I hope that all makes some kind of sense to ya'll

JohnnyX
27-Oct-2004, 11:12 PM
And you're letting him into the Admin Section? :eek:

YODA
27-Oct-2004, 11:14 PM
And you're letting him into the Admin Section? :eek:

Kaaaahooooga Kaaaahoooooga!!!!! :eek:

Have you considered something like Macromedia Contribute?

Clubsport19
27-Oct-2004, 11:41 PM
My Situation: I currently have a fully operational Administration section working over at www.taekwondo-uk.co.uk which is all fine and dandy, except the text boxes (<textarea>) tags I use to input data require you to enter text in the HTML sense (using <br /> as new line etc). I was wondering if there is a piece of code available that is like the box thats surrounding the one im typing into now (the one vB uses) that would create code for bold text, italic text and new lines etc etc. The reason I need something like this is because the people who will be using the Admin section (my instructor) has no idea how to write HTML code, so if he wants 5 spaces then he's gonna hit the return key 5 times :p

Any ideas?

P.S: I'm kinda tired so I hope that all makes some kind of sense to ya'll

I'm not sure i understand what the textarea is used for. What would be a normal thing to happen regarding the textarea? Admin enters text, presses submit button, where does the text go?

I don't mind coding it if you can't find any code out there. Just let me know what's needed. Is it prefered to be in Javascript btw?

NRees
28-Oct-2004, 12:04 PM
And you're letting him into the Admin Section? :eek:
Well, it is his club and he's the dude in charge. So I guess so :p

It's ok people, I found what I'm looking for over at http://www.htmlarea.com/htmlarea_2/

Thanks for your replies, but of everything I found this looks to be the more promising of the lot.

YODA
28-Oct-2004, 12:13 PM
Hey nice find! :D

That may come in handy!

NRees
28-Oct-2004, 12:21 PM
It's a dodle to implement aswell, only takes bout 8-10 lines of code to replace a textarea.

See the attached images to see how it would replace a normal <textarea>.