Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I need to have conditional mandaory fields.like if option A is checked or selected then some fields should be mandatory otherwise the fields should not be mandatory. For now ,i find only one post for this but its not for the current version and its for same page not for multiple pages.
The link was : http://drupal.org/node/732114#comment-3038672
Comments
Comment #1
quicksketchThis probably won't be added. I'm definitely interested in having fields hidden/shown based on permissions, but changing validation based on previous fields seems esoteric. Sounds like a possible request for Webform Validation.
Comment #2
k2abhishek CreditAttribution: k2abhishek commentedThanks for your reply.Should i made request in Webform Validation.Or you can have any suggestion to apply this.I really need it urgently.
Comment #3
quicksketchLet's just move this issue over there and see what the maintainer thinks.
Comment #4
svendecabooterThat sounds like an interesting thing to have, but will probably be a lot of work to build correctly.
The current UI and logic is not really ready to accommodate this.
If it would become implemented, it would also probably only work for a few use cases of the potentially endless number of cases that can be thought of if validation rules were to be called conditionally.
I'm postponing this, as I currently don't have a real incentive to work on something like that...
Comment #5
svendecabooter--- double comment removed ---
Comment #6
Liam MorlandDrupal 6 is no longer supported. If this issue exists in a later version of webform_validation, please re-open and update the version number.
Comment #7
Liam Morland