Fix for form validation

- form validation was not working properly when recieving the form name
instead of the form element.
No validation for keygen, readonly and disabled