AnsweredAssumed Answered

How to Call Custom JavaScript Function on Save Button?

Question asked by pavan agrawal on Feb 5, 2015
Latest reply on May 22, 2018 by Ron Lesh
Hi All,

I have added one field in account module and put some javascript validation. like this

'displayParams' =>                array (
                        'field' =>
                        array (
                        'onblur' => 'identity_key_check()',
                        "style" => 'text-transform:uppercase;',
                        ),
                    ),

and calling identity_key_check in a js file. Its working but if we click on save button it does not check validation.

How we can call same function on save button ?

Thanks,
Pavan

Outcomes