Review main Abandoned

17918[BUGFIX] Flexform "required" on input fields applies to last field only

Christian Weiske CR 0 V 0 Easy +4 −7 updated 04/21/15, 12:25

Commit message

When a flexform has several input fields with "required" eval option,
only the last one is validated. The requirement for all but the last one
is ignored.

This patch fixes the bug by using the flexform field name instead of
the database field name as array key.
This does still work for "normal" fields, since both values are
populated (tested with "htmlArea RTE abbreviation").

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.

Files 1