htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Discussion:
Getting the data entered by user,just the TEXT,not HTML


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


vabrol
New User

Feb 17, 2005, 6:33 PM

Post #1 of 1 (31625 views)
Shortcut
Getting the data entered by user,just the TEXT,not HTML Can't Post

Hello All,

Great product. came across yesterday and almost with no offort, I was able to use it on my pages. Wonderful.I am stuck in one of the pages.

Requirement is to show htmlarea for a 'Display Name' field so that user can enter data in that , do all the formatting as needed. But here is also a hidden field called 'hidden_dispName', value for 'hidden_dispName' should be what user entered in 'Display Name' htmlarea excluding all the formattting other than leaving the line breaks/spaces?

So if user enter

veryimportant data (which is bold and italic, htmlarea would include it in htmltags)

I need to remove the htmltags before I set the value to 'hidden_dispName'. before submitting, length validation would be perfomed on 'hidden_dispName' and saved. In database,I need to preserve the contents from htmlarea as well as from 'hidden_dispName'.

Please help. Any advise would be highlu appreciated.



Thank You











Frown

 
 
 


Search for (options)