Closed (fixed)
Project:
Webform
Version:
6.x-2.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 May 2009 at 13:16 UTC
Updated:
26 Jan 2010 at 04:23 UTC
Hello,
Is it possible to add a limitation of submissions by an option in the form?
For example inside the form there's a select option with option A and option B
When option B has been chosen 20 times, there will be a message or it's not longer possible to chose that option.
Can that be done with the webform module ?
Comments
Comment #1
quicksketchThis is possible by writing custom validation code in the "Additional validation" field. However accomplishing that is a request that is outside the scope of the issue queue. I'd suggest looking at the existing examples in the handbook.
http://drupal.org/handbook/modules/webform/validation-code