Commit a9282ba815833e0073b5c7cd7e75f6899f7df2e8

If a form doesnt have an id, code should not break.
Fixed
README
(4 / 0)
  
3939Please do not name another method as validator_hooks or name a method starting
4040 with validator_, this might conflict with some methods in the plugin.
4141
42If you have a runtime determined regex, eg length{x} and a standard predefined regex,
43 e.g required, the standard predefined should come first in the title, this is just
44 a good practice, any arrangement will also work as well. eg
45 <input type="text" name="fred" id="fred" title="required email length{6}" />
4246
4347
4448NOTE
  
3636 forms = document.forms;
3737 for(i=0; i < forms.length; i++) {
3838 thisForm = forms[i];
39 Event.observe(forms[i].id, "submit", obj.validate_form)
39 if(thisForm.id != "")
40 Event.observe(forms[i].id, "submit", obj.validate_form)
4041 }
4142});
4243