Conditional fields are always hidden in the submission result page
The correct fields are already filtered in the code (inside the function `webform_conditional_webform_submission_render_alter`)
The javascript then hides the remaining conditional fields, which should actually be shown.
Quick&dirty patch would be to check for an input in the javascript and only hide the field if one is found (on line 50):
if(formItemWrapper.length > 0 && formItemWrapper.find(':input').length){
Comments
Comment #1
tedbowShould the javascript even be output on this page?
Comment #2
jtjones23 commentedAny update on this issue? I've set up a conditional select field and only one field is displayed on the submission no matter how many I choose.
Never mind, I changed the keys from a,b,c to 1,2,3 and and the submissions display properly.
Comment #3
raulmuroc commentedSame prob here and agree, this piece of code:
Makes fields being hidden. To be more concrete, on a webform multistep, when forward to next step, and the coming back to the previous step, fields like sub-selects are hidden (disappeared, as its values are not anymore being considered).
Comment #4
raulmuroc commentedComment #5
raulmuroc commentedCurious, I uploaded webform from 7.x-3.21 to 7.x-3.22 and now this solution doesn't work. :S weird....
Comment #6
eeric49 commentedHello Team I wish to ask on how to work around the Webform same conditional.
Here is what I tried but cant make it work..
//---------------
Select No. of days ____ [1, 2, 3, 4, 5, 6]
Depending on the number select...
For example:
I select 3 days (The conditional rule will display 3 selection fields and hide fields 4,5,6)
Display Field Select 1:
Display Field Select 2:
Display Field Select 3:
//-------------
I appreciate your continued support. Apologizes for any inconvenience
Comment #7
spadxiii commented@eeric49: Please post a new issue instead of changing existing issues, which are quite unrelated to your question.