Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - preview problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum Lockedpreview problem

 Post Reply Post Reply
Author
brass View Drop Down
Newbie
Newbie


Joined: 22 March 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote brass Quote  Post ReplyReply Direct Link To This Post Topic: preview problem
    Posted: 22 March 2005 at 10:37am
Hi Im having a bit of a problem with the new RTE.  Overall it's fantastic, I love it, but for some reason the Preview function seems to be messing up on me.

When I click on the preview button, it opens a window but displays nothing in it (Source code just looks like <html></html>).  Then if I click on the Submit form button after that, it opens a proper preview window.  Of course though, that means that my Submit button no longer works for submitting because now it only opens preview windows.  Any idea what the problem might be?  Almost everything else seems to work wonderfully apart from the preview button problem.  I guess I should also mention that Im using IE 6.0

Also one other small thing is that there seems to be a comma appending to the end of my textarea when I submit the information to my database.  This could just be a problem with my own ASP, but if anyone else has had a similar problem Id appreciate any suggestions that might help me debug this a little quicker.  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: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 22 March 2005 at 12:55pm
It sounds like some of your own javascript in the form you are placing the RTE into is interfering with the RTE's javascript. Probably something to do with if you have your own javascript to handle form submission.

The problem with the comma, and possibly connected to your submit/preview problem, is usually coursed if there is multiple elements in your form with the same name. Make sure that you do not have any elements in your own form that have the same name or ID tag as those used by the RTE.
Back to Top
brass View Drop Down
Newbie
Newbie


Joined: 22 March 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote brass Quote  Post ReplyReply Direct Link To This Post Posted: 22 March 2005 at 3:36pm
Well I still havent figured out what was causing the preview problems.  I dont have any other javascript on that page that I know of.  It's not a problem though as Ive just disabled the preview button entirely.  I only plan to use this for posting short announcements so alot of the higher functions like previewing or file uploading are not really necessary anyway.

The comma problem you were spot on.  I had a leftover hidden field that I had forgot to cleanup from a previous experiment and it had the same name as the RTE area.  Thanks.
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.