[Vtigercrm-developers] chained requirements

Prasad prasad at vtiger.com
Mon Jun 25 21:57:28 PDT 2012


Adam,

I would suggest handling this in javascript than inducing a custom
typeofdata.
There could be many such validation you might want to handle on value
change for a field.

Regards,
Prasad

On Mon, Jun 25, 2012 at 10:45 PM, Adam Heinz <amh at metricwise.net> wrote:

> Let's say I have two fields, deposit_amount (uitype 7, typeofdata N~O)
> and deposit_account (uitype 16, typeofdata V~O).  I have been asked to
> make them both required if either is set, but it is also acceptable
> for neither to be set.  I'm still brainstorming, but I'm thinking of
> fiddling around with typeofdata, perhaps adding something like F~###
> to the end, where ### is the field id of the related field.  Anyone
> else thought about doing anything like this?
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120626/454f2e5f/attachment.html 


More information about the vtigercrm-developers mailing list