I want to add validation for name field in Account module.
Does anyone have any code reference or hint ?
I don't have exact code, But you can go through this link
Thanks & Regards,
Team Urdhva Tech
2) override check_form function to validate before submit
Hope it helps.
Web : http://www.urdhva-tech.com
Hello Urdhva Tech,
Thank you for the answer. Can you share some sample code if you have any.
That would be highly appreciated!
Thanks Dhaivat Naik
Hello,Here how to do it in your editviewdefs.php file for including your js
$module_name = 'Accounts';
$viewdefs [$module_name] =
'file' => 'custom/modules/Accounts/abc.js',
'maxColumns' => '2',
and create a abc.js file at the following locationAdd your jquery validation in that js file simple
I hope it helps
Hello Umar Akhlaq,
thank you for the reply, I got the answer from urdhva's reply
Retrieving data ...