Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - String length in RTE
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

String length in RTE

 Post Reply Post Reply
Author
privateguide View Drop Down
Newbie
Newbie
Avatar

Joined: 09 December 2014
Location: Iceland
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote privateguide Quote  Post ReplyReply Direct Link To This Post Topic: String length in RTE
    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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9791
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.07
Copyright ©2001-2024 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 Policy

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 unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

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