zeelot / kohana-yform

Form Generation =(
15 stars 2 forks source link

YForm::factory() results in invalid HTML #25

Closed alanhogan closed 14 years ago

alanhogan commented 14 years ago

If YForm::factory() is called without its argument (a string to be used for the ID of the form), which I don’t believe to be necessary, then

  1. No error results / no exception is thrown and the method succeeds, but
  2. Rendering the form will include the string id="". This is invalid HTML:

    Line 37, Column 89: Bad value for attribute id on element form: An ID must not be the empty string.

zeelot commented 14 years ago

not adding blank IDs, closed by e22214e75f80f8e43cb030eab989e4427b658a4d