https://www.drupal.org/project/webform/issues/3076750

We are now using this great feature on our website to select move out housing times for dorms due to COVID-19. If life ever goes back to normal I would like to be able to use it to buy tickets, but the only way I can make it work is if they buy tickets one at a time. Is there any possibility that in the future we could also add a number element that would automatically subtract the number of tickets that they request from a total number of tickets available? Does anyone think this would be a good idea? Thanks for listening.

Comments

spage3 created an issue. See original summary.

jrockowitz’s picture

I think you are asking for a completely new type of limit handler. It sounds like you are looking for a number (element) limit handler.

This would have to be a sponsored feature or built a dedicated contribs module. @see https://www.jrockowitz.com/blog/limits

This could also be done using a little custom code in a form alter hook.

jrockowitz’s picture

Status: Active » Closed (won't fix)