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

quicksketch’s picture

Status: Active » Closed (fixed)

This 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