Closed (won't fix)
Project:
Webform
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Jun 2012 at 19:20 UTC
Updated:
7 Oct 2015 at 15:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
quicksketchCurrently our conditionals system is set up to handle one question per component, so support for grids is a little bit difficult. Oddly we could actually do complex conditionals more easily, such as "at least 3 choices need to be X" than we could make each radio set a separate conditional. But in any case, it's a legitimate request, though maybe not something we're going to get to soon.
Comment #2
dsrikanth commentedWould love to hear about any progress on this one.
Comment #3
danchadwick commentedJust found this older request for this reasonable feature. Marking the newer request as a duplicate.
#2315509: Webform conditionals not working with the grid field type
Comment #4
danchadwick commentedReading the related issue carefully, there are really two related but distinct requests:
1) Use grid question as a source component in a rule test. (e.g. Questions 4 is Yes.)
2) Act on only one grid question as an action of the conditional. (e.g. Hide question 4.)
I'm still leaving the other question closed as a duplicate because I think both features should be addressed at the same time.
Comment #5
danchadwick commentedAbsent a patch from someone else, or funding for this feature, I don't see this happening anytime soon. Selecting the grid question requires substantial reworking of both the UI for specifying the conditional rule and/or action, as well as changes to the jQuery that implements conditionals, the conditional parsing (topological sort and analysis) (because more than once conditional can now change a grid), and server-side conditional engine. It would be a fair bit of work.
Comment #6
danchadwick commentedThe related issue (advanced grid component) is probably the way forward for this, but I thought I'd record my partial implementation of conditionals. I stopped part way through. It is particularly awkward to act on questions within a grid via conditional actions.
THIS PATCH IS NOT FUNCTIONAL. There is a lot left to do, and I don't expect to go in this direction, given the related issue's solution.