Print Page | Close Window

How to pre-populate textarea?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=26076
Printed Date: 28 March 2026 at 3:11pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: How to pre-populate textarea?
Posted By: dan74
Subject: How to pre-populate textarea?
Date Posted: 06 August 2008 at 11:44am
I'm using webwiz forums and need to change the behaviour of filtering bad words to redirect to not_posted.asp if a bad word is found.

That's easily done but the problem is if the user clicks back hoping to edit the message, their draft/content is gone.

I can capture the strMessage (at the moment dumping this into a session variable), but how can I get the strMessage inserted back into the textarea?

Thanks
Dan



Replies:
Posted By: jamie.townsend
Date Posted: 06 August 2008 at 1:17pm
<textarea><%=session("name")%></textarea>



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net