[Vtigercrm-developers] extend Validation engine
Alan Lord
alanslists at gmail.com
Wed Feb 11 09:49:41 GMT 2015
On 11/02/15 09:25, Uma S wrote:
> Sure Alan! you can handle this define the custom validation that need to
> be performed in module specific js file which should extend standard
> validator (Vtiger_PhoneValidator_Js). So that during validation you can
> call parent class validate() api to perform standard validation on field.
>
> For example : Please check Vtiger_Percentage_Validator_Js in
> FieldValidator.js (modules/Vtiger/resources/Validator) which is making
> use of Positive number validator.
Thanks Uma,
Yes, I think this makes sense now.
Al
More information about the vtigercrm-developers
mailing list