Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to enableuser enter HTML tags in Text field?

Status
Not open for further replies.

passs

Programmer
Dec 29, 2003
170
0
0
RU
Hello everybody!

Does somebody know how could I handle such problem:
I have a text input field and a button, for example and when I type something like <br> and click button, then an error occured, that user has entered some wrong data or something like this?
How could I enable users to enter HTML tags?

I'll be very thankful for any help!

Best regards,
Alex
 
Hi,

You need to add

validateRequest="false"

to the <%@ Page Language="vb" ... directive.

HTH
SonD
 
yes, but then all my validation controls wont work at all, that is not right too:)
I've already thought of that:)

Thank you,
Alex
 
I think the only other options is to create a javascript function which will encode the text before being sent to the next page, when it can then be decoded again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top