Review main Merged

6624[BUGFIX] Validation for multiple forms on one page

Niki Mueller CR +2 V +2 Normal +32 −19 updated 06/03/13, 20:49

Commit message

Since the class tx_form_System_Validate is a singleton, it was not
possible to use more than one form on a page. This patch changes
the arrays $rules, $messages and $errors, using the current form-
prefix as key, allowing for validation of several different forms
on one page.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Files 1