Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - How to pre-populate textarea?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedHow to pre-populate textarea?

 Post Reply Post Reply
Author
dan74 View Drop Down
Newbie
Newbie


Joined: 20 August 2007
Location: United Kingdom
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote dan74 Quote  Post ReplyReply Direct Link To This Post Topic: How to pre-populate textarea?
    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
Back to Top
jamie.townsend View Drop Down
Groupie
Groupie


Joined: 07 December 2007
Location: England
Status: Offline
Points: 114
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamie.townsend Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2008 at 1:17pm
<textarea><%=session("name")%></textarea>
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.