Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Submitting RTE from your own form button
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedSubmitting RTE from your own form button

 Post Reply Post Reply
Author
tex512 View Drop Down
Newbie
Newbie


Joined: 22 September 2004
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote tex512 Quote  Post ReplyReply Direct Link To This Post Topic: Submitting RTE from your own form button
    Posted: 16 March 2005 at 5:01pm
Hi,
I am using the RTE (V2) in a form.
I would like to use my own button to submit the form, not the button on the rte.
Does anyone have a code snippet to do this?
Many Thanks
Tex
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2005 at 5:33pm
take the buttoin out and put document.formname.submit();

as the URL/href for the image

<a href="javascript:document.formname.Submit();"><img src="image Source" border=0></a>
Back to Top
tex512 View Drop Down
Newbie
Newbie


Joined: 22 September 2004
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote tex512 Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2005 at 6:13pm
Hi,
Thanks for the reply, but that does not answer my question.
 
Maybe I am missing something here, but if you don't use the button on the rte to submit the form, the message field from the rte does not show up in the request object.
 
My button is on the page holding the rte not on the rte itself.
 
How do I get round this?
Thanks
Tex
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2005 at 7:07pm
oo sorry ,

you need to copy the onclick command thats within the button tag

place it within the link tag for the image , if that doesn't work place it within the image tag


Edited by dj air - 16 March 2005 at 7:08pm
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.