Review main Abandoned

10112[BUGFIX] EXT:form cannot handle validation for more than one form per page

Andreas Wolf CR 0 V 0 Normal +38 −18 updated 09/14/13, 10:51

Commit message

If multiple forms are used on the same page with different validation
rules, all validation rules apply to all forms due to
'tx_form_System_Validate' being a singleton. This results in most forms
never validating properly.

The problem is fixed by making the class a prototype class, thus making
it possible to have its own instance for each form object.

Additionally, this patch makes the naming a bit clearer (rulesClass ->
validator)

Review

  • Code review CR 0

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

  • Verified V 0

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

Issues 1

Files 3