Print Page | Close Window

String length in RTE

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=31127
Printed Date: 27 March 2026 at 11:10pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: String length in RTE
Posted By: privateguide
Subject: String length in RTE
Date Posted: 09 December 2014 at 9:04pm
Hi there

Im bit rusty when it comes to ASP, havent been coding for years. But I stumbled upon this great editor here and decided to give it a try. Setup was easy and straightforward.

And now Im working on the contents of the editor. Funny thing. If you clear the text (use the Reset button) and submit is stringlength is 0 (using Len(string)). I have the receiving page redirect you back to the page containing the form. If you resubmit the form, stringlength is suddenly 4 even though there is nothing in the editor? And I have tried a couple of times and it goes like 4 8 12 16 but there is nothing in the string?

Anyone had this problem and how do you solve it?

Thanks



Replies:
Posted By: WebWiz-Bruce
Date Posted: 10 December 2014 at 8:56am
A hidden character is placed in to the editor when first loaded to get around a bug in Firefox whereby if there is no content in the editor the cursor is not displayed.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



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