Needs work
Project:
Webform Conditional (Same Page Conditionals)
Version:
6.x-1.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2011 at 22:44 UTC
Updated:
23 Jun 2014 at 10:48 UTC
Jump to comment: Most recent
Comments
Comment #1
stewestI have the same issue.
All other mandatory conditional fields (all text fields) "work". My issue is that when one selects "No" to an option which otherwise would have mandatory file fields inside it (in my case a field group with two file fields required, when the user submits the form, they are presented with an error, stating that the mandatory file fields are required (Even though they said no to that conditional field).
Webform 6.x-3.11
Filefield 6.x-3.10
(jQuery update 6.x-1.1)
Comment #2
johnmcc commentedI have exactly the same issue as #1. The "required" attribute is not valid on file fields within the Drupal 6 forms API - I wonder if this is the cause.
Comment #3
weavie commentedsubscribe
Comment #4
Domug commentedI have the same issue as #1 using 7.x-1.0-dev branch. Going to open an issue for that branch, too.
Comment #5
Marat commentedI have the same problem. It used to work before but don't know what happens!
Comment #6
roball commentedCan confirm this bug with 6.x-1-1. sad to see that nobody cared about it yet, now since more than 2 years.
Comment #7
Milkrow commentedsubscribe
Comment #8
roball commentedProblem still exists in latest stable D6 release (6.x-1.2). Is there intention to fix it?
Comment #9
roball commentedComment #10
edhelll commentedAdd this code to webform_conditional.module to function webform_conditional_element_after_build after line 216 ($form_element['#required'] = FALSE):
Comment #11
roball commentedThanks for your code. Could you please provide it as a patch against git's 6.x-1.x branch?