<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF">
Dear vtiger Team, and vtiger Community,<br>
<br>
I would like to use a picklist field in my custom module and the set
of selectable picklist items have to depend from the content of an
other field of the too same record. The dependency is inside the
record but the other field is not a picklist.<br>
It is a little bit similar to the picklist dependency but it is
quite different.<br>
<br>
Is there any method to get the <b>current record</b> or <b>current
record_id</b> inside the field_model?<br>
E.g. inside the <b>class CustomModule_Field_Model extends
Vtiger_Field_Model</b><b> { }</b>?<br>
<br>
If it is, I can overwrite the getDisplayValue() method and
getDBInsertValue() method to make the display_value dependent from
an other field.<br>
<br>
In this moment I did not find the right access point.<br>
<br>
Any suggestions are appreciated.<br>
<br>
Kindest regards:<br>
Istvan<br>
<br>
<div class="moz-signature">-- <br>
üdvözlettel:<br>
<br>
<b>Holbok István</b><br>
<br>
+3670-342-0900<br>
<b>e-mail:</b> <a class="moz-txt-link-abbreviated" href="mailto:holbok@gmail.com">holbok@gmail.com</a><br>
<b>SkyPe:</b> holboki<br>
<br>
</div>
</body>
</html>