Adam,<div><br></div><div>I would suggest handling this in javascript than inducing a custom typeofdata.</div><div>There could be many such validation you might want to handle on value change for a field.</div><div><br></div>
<div>Regards,</div><div>Prasad</div><div><br><div class="gmail_quote">On Mon, Jun 25, 2012 at 10:45 PM, Adam Heinz <span dir="ltr"><<a href="mailto:amh@metricwise.net" target="_blank">amh@metricwise.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Let's say I have two fields, deposit_amount (uitype 7, typeofdata N~O)<br>
and deposit_account (uitype 16, typeofdata V~O). I have been asked to<br>
make them both required if either is set, but it is also acceptable<br>
for neither to be set. I'm still brainstorming, but I'm thinking of<br>
fiddling around with typeofdata, perhaps adding something like F~###<br>
to the end, where ### is the field id of the related field. Anyone<br>
else thought about doing anything like this?<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>