Location: PHPKode > projects > Mambo CMS > mambots/editors/tinymce/docs/option_add_form_submit_trigger.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<title>Option: add_form_submit_trigger</title>
<link href="css/screen.css" rel="stylesheet" type="text/css" />

<div class="header">
	<h1>Option: add_form_submit_trigger</h1>

<div class="content">
		This option enables you to turn on/off the onsubmit event listener. This feature adds a onsubmit event listener on all forms on the page, if a form is submitted a tinyMCE.triggerSave() JavaScript calls gets executed, this function moves HTML content from the editor iframe and to the hidden form element. This option is set to true by default.

	<div class="separator"></div>

	<h3>Example of usage of the add_form_submit_trigger option:</h3>
	<div class="example">
	<strong>add_form_submit_trigger : false</strong>

<div class="footer">
	<div class="helpindexlink"><a href="index.html">Index</a></div>
	<div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
	<br style="clear: both" />

Return current item: Mambo CMS