Re: Javascript validation of extra field in create edit account
The easiest way to get this to work without modifying the core jscript file is to duplicate the function check_form in your own jscript file (call it another name like check_my_form), and add your call to the check_dni function within it.
Then edit override copies of the account_edit, create_account and login templates, changing the onsubmit function to use check_my_form instead of check_form.
Neville
An assumption is what you arrive at when you get tired of thinking...