<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I need a small help.<br>
<br>
My problem is: <br>
There is a checkbox type field "Product Active" in the product module
set default checked when creating a new product.<br>
<br>
I have put some checkbox type fields into the Products module and all
of them inherited default checked. But I would like to use them default
unchecked.<br>
<br>
I have reviewed all resources:<br>
Forum:
<a class="moz-txt-link-freetext" href="http://forums.vtiger.com/viewtopic.php?t=28553&highlight=checkbox+default">http://forums.vtiger.com/viewtopic.php?t=28553&highlight=checkbox+default</a>
(Joe Bordes solution)<br>
Smarty template files for the inventory<br>
EditView.php for the Products module<br>
<br>
but I did not find the place where the checkbox set default checked.<br>
<br>
It is the end of EditView.php file. Here is the only comment about it:<br>
<big><b>// Added to set product active when creating a new product</b></big><br>
$mode=$focus->mode;<br>
if($mode != "edit" && $_REQUEST['isDuplicate'] != "true")<br>
$smarty->assign("PROD_MODE", "create");<br>
<br>
<br>
if($focus->mode == 'edit') {<br>
$smarty->display('Inventory/InventoryEditView.tpl');<br>
} else {<br>
$smarty->display('Inventory/InventoryCreateView.tpl');<br>
}<br>
<br>
But I did not see where it is set<br>
<br>
Can some body help?<br>
<br>
Cheers:<br>
<br>
<div class="moz-signature">Holbok István<br>
telefon: +3670-342-0900<br>
e-mail: <a href="mailto:holbok@gmail.com">holbok@gmail.com</a><br>
<br>
</div>
</body>
</html>