<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 10/10/2011 10:43, Prajwala Manchikatla wrote:
<blockquote
cite="mid:CA+UftVO3ssy_DDDujx1MNxqXiz7V2W9PJbPKHWr434S1hVAidA@mail.gmail.com"
type="cite"><span class="Apple-style-span" style="font-family:
arial,sans-serif; font-size: 13px; background-color: rgb(255,
255, 255);">Hi Rohit,
<div><br>
</div>
<div>This is a support request, so it should go to support
mailing list. </div>
<div>You can write your custom submit handler by using
hook_form_alter. </div>
<div><br>
</div>
<div>function MODULE_form_alter(&$form, &$form_state,
$form_id) {</div>
<div> if ($form_id == '<span style="font-family: monospace;
white-space: pre-wrap; ">webform_client_form_4</span>') {</div>
<div> $form['#submit'][] =
'custom_form_submit_handler_function'; // Note that this
function will be called after the default webform submit
handler</div>
<div> }</div>
<div>}</div>
</span></blockquote>
<br>
First post, hello all.<br>
<br>
And to use only a custom handler:<br>
<div><tt> if ($form_id == '<span style="font-family: monospace;
white-space: pre-wrap; ">webform_client_form_4</span>') {</tt></div>
<tt>
</tt>
<div><tt> // remove all handlers:<br>
unset($form['#submit']);<br>
// add alternative handler:<br>
$form['#submit'] =
array('custom_form_submit_handler_function');<br>
</tt></div>
<div><tt> }</tt></div>
would work too, no? <br>
<br>
pd
</body>
</html>