getting error message: form.addEvent is not a function
if you view the below contact form in the console of Chrome Developer tools, after my diagnostic message "V050 add submit form event" is output, we see the error "form.addEvent is not a function".
The console shows this error is coming from my validation.js file at line 44.
As I understand it, the element name form links to the html form tag in contact5.php using the id comments_form and this is linked into the validation.js file by the statement at line 4: var form = $('comments_form');
so it all seems to link together ok and addEvent is a valid mootools method. I know I got this code off the web sometime ago and there's likely other ways to achieve the validation of the form but it's become a puzzle I just must solve and would hate to leave it without working out what's wrong! Any help would be appreciated
