Question T5089
Visible to All Users

Restrict user to add more questions

created 5 years ago

Hi Team,

As we have some constraints to save json max length so we want user to restrict for adding more question after some threshold.
is there any event which can help here to stop adding more question after certain condition.

Thanks & Regards,
Nitin

Answers approved by surveyjs Support

created 5 years ago

Hello,

You can use onQuestionAdded event to check this

Thanks, Alex
SurveyJS Team

    Comments (1)

      Since this onQuestionAdded event is firing after question add I think we can remove added question from here on the condition bases.

      Yes we can use this method to remove questions once it exceed the limit.

      Thanks Alex.