[Vtigercrm-developers] extend Validation engine
Uma S
uma.s at vtiger.com
Wed Feb 11 08:22:34 GMT 2015
Hi Alan,
*If I want to have multiple "layers" of validation so that for example I
must do a custom check to make sure some other module record contains the
right value and then use one of the standard validators *as well* on the
same field, how would I do this?*
Sorry! I am not clear on this above point. Do you mean you are looking for
how to use existing validator's on your custom field?
On Wed, Feb 11, 2015 at 1:26 PM, Alan Lord <alanslists at gmail.com> wrote:
> On 11/02/15 07:47, Jonathan Sardo wrote:
>
>> I hope you can make use field model level getValidator() api to
>> define special validator for fields, which can be defined in
>> particular module js files based on view.
>>
>>
>> Uma, it sounds well but where can we find documentation about this? Is
>> it necessary to search deeply in the code?
>>
>
> Am looking at this now.
>
> There are some examples in the code that are easy enough to find; I am
> looking for a client-side validation function in that uses Ajax but with no
> luck so far...
>
> One question on this approach Uma:
>
> If I want to have multiple "layers" of validation so that for example I
> must do a custom check to make sure some other module record contains the
> right value and then use one of the standard validators *as well* on the
> same field, how would I do this?
>
> Thanks
>
> Al
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
--
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150211/f48a0eb8/attachment.html>
More information about the vtigercrm-developers
mailing list