An unanticipated consequence of providing proper server-side validation of grid components (see related issue) is that custom modules can no longer mark some questions in a required grid as not being required. Previously a form after_build function could remove the required attribute from some of the radio button(s), allowing those questions within the grid to be optional. The browser respects this but then the server now enforces validation.

The proposed solution is to re-check that each question is still required before generating a validation error for the required attribute.

Comments

DanChadwick created an issue. See original summary.

  • DanChadwick committed d36bae9 on 7.x-4.x
    Issue #2917877 by DanChadwick: Allow some grid questions to be made...
danchadwick’s picture

Status: Active » Fixed
StatusFileSize
new1.24 KB

Pushed to 7.x-4.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.