Hi,
Here u go.....
go to custom/modules/<your module>/metadata/editviewdefs.php
add
Code:
'includes' =>
array (
0 =>
array (
'file' => 'custom/modules/<your module>/yourjavascriptfunction.js',
),
), into the 'templateMeta'
put your javascript file in custom/modules/<your module> directory.
add the following custom code to both the fields which u want to multiply
Code:
'customCode' => '<input id="field_1" type="text" tabindex="0" title="" value="{$fields.field_1.value}" size="30" name="field_1" onchange="yourJavascriptFunction();"/>',
may this help u
Cheers,
Ishaan
Bookmarks