You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this for a survey tool. I want to limit the questions a user can add to form. For example, If I set a limit of 10, then user should only be able to drag and drop 10 controls to the form.
Is there an event or something that I can use to count and stop adding controls if the limit has reached?
The text was updated successfully, but these errors were encountered:
Out of the box there is no way to limit the number of controls. The desired effect can be achieved via hooking into the onadd and onremove events of typeUserEvents (using wildcard *) and disabling/enabling pointer events on the controls based on the count of element on the stage.
Have marked as NEEDS SPONSOR if anyway wishes to sponsor development of built in functionality
I am trying to use this for a survey tool. I want to limit the questions a user can add to form. For example, If I set a limit of 10, then user should only be able to drag and drop 10 controls to the form.
Is there an event or something that I can use to count and stop adding controls if the limit has reached?
The text was updated successfully, but these errors were encountered: