kevinchappell / formBuilder

A jQuery plugin for drag and drop form creation
https://formbuilder.online
MIT License
2.63k stars 1.39k forks source link

Add limiting answers #1241

Open Akhun-Delar opened 2 years ago

Akhun-Delar commented 2 years ago

There should be an option to set a limit on answers within a checkbox group as well as in the whole form.

e.g. I want that only 3 checkboxes within a checkbox group can be selected - or: that only 5 checkboxes within the whole form can be selected.

lucasnetau commented 1 year ago

This is a higher function that what this plugin is trying to achieve. You can implement you logic with adding event listeners after formRender to perform your limiting logic, you'll need to handle validation and also how to notify the user when limits are hit.