Print Page | Close Window

Submitting RTE from your own form button

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=14274
Printed Date: 29 March 2026 at 2:47am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Submitting RTE from your own form button
Posted By: tex512
Subject: Submitting RTE from your own form button
Date 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



Replies:
Posted By: dj air
Date 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>


Posted By: tex512
Date 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


Posted By: dj air
Date 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



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