Adding an onsubmit handler to the APM logon page

How do we add an onsubmit handler to the APM logon page?

you can customize the APM logon page. Through the GUI, go to Access Policy / Customization / right-corner switch to “Advanced customization” / Edit Mode switch to “Advanced” / select the Logon page of your access policy in the tree. Then you can insert HTML/javascript code. Alexandre