Hello,
I have 2 fields and both depends on some conditions. say if 1 is true than first field will display and 2 is true than second field is display. Now if any options (1 or 2) is selected than it display related field, this is fine but i would like to validate those fields which are displayed. Is it possible ?
I go through code at webform_conditional.module file and found that there is option for 'If this field is visible should it be mandatory?' in form but it is set as disable in code so not working. I did try to enable it but i think module coding is not completed for validating Conditionally Mandatory fields.
So i tried from my side and try to get some hook of webform but i am new to drupal module development so didn't get much idea. I would like to ask to creator / maintainer of this module to help on this topic. Also If anyone can provide me idea how to move further than i will be glad to help on this.
version of Webform : 6.x-3.0-beta5
version of Webform Conditional : 6.x-1.x-dev
Thank you
Tejas Mehta
Comments
Comment #1
Isostar commentedSubscribe
Comment #2
mp commentedsubscribe
Comment #3
Kyborash commentedSubscribe
Comment #4
drupalhopper commentedSubscribe
Comment #5
tedbowI have implemented mandatory fields. I would appreciate review and feedback from the community.
Comment #6
pixel8r commentedI have tested it on my webform, no glitches so far.
Webform 6.x-3.4
Webform Conditional 6.x-1.x-dev
Webform pay 6.x-1.0-alpha2
Thank you for your hard work :)
Comment #7
tedbow@pixel8r thanks for testing and the feedback.
Comment #8
drupalhopper commentedIt's working great on my forms, as well.
Comment #9
tedbowdrupalhopper, thanks for testing and the feedback.