Multiple improvements and fixes, including #required support

Created on 2 January 2013, almost 12 years ago
Updated 15 September 2024, 3 months ago

Improvements:

  • Use #tree attribute to encapsulate the values of sub-fields.
  • Move value processing to the #element_validate callback so processing is done on the form submit only.
  • Support for #required attribute.
  • Avoid unnecessary processing of variables that are not used on some conditions.

Patch follows.

Feature request
Status

Closed: outdated

Version

2.0

Component

Code (miscellaneous)

Created by

🇵🇹Portugal dmitriy.trt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024