Closed (fixed)
Project:
Webform
Version:
6.x-3.4
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2012 at 19:38 UTC
Updated:
1 May 2012 at 17:30 UTC
I have a webform set up, using the webform module, and I am trying to have multiple field sets be mandatory.
For example, I have 6 disciplines (counseling, anthropology, medical,etc) They are fieldsets. Within those field sets I have selections for products which fall into those categories. End-users..for some reason..keep submitting empty forms because I cannot figure out how to make multiple field sets mandatory.
You can check out the webform here http://alexanderstreet.com/support-center/request-trials
When they hit submit, but they haven't picked a discipline or product, I want them to be prompted letting them know they have to.
Any ideas would be greatly appreciated, thanks!
Comments
Comment #1
vernond commentedFieldsets cannot be made mandatory as they are not a source of input data in themselves - they're just containers which may contain input field elements.
Your best bet would probably be a little custom module adding some validation rule code via the Webform Validation module's hooks.
Comment #2
JoeKalucki commentedYES.
That did it!
Thank you for your response!
Comment #3
quicksketchThanks @vernond!