Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Feature idea: API endpoint to check survey activation consistency

More
2 weeks 6 days ago #274863 by tammo
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.17.x
Own server or LimeSurvey hosting: own
Survey theme/template: irrelevant
==================

Hi LimeSurvey developer,

What would you think of adding a RemoteControl API method that checks whether a survey is activation-ready, without actually activating it?

Right now, integrations typically learn about consistency issues only when calling activation. A read-only precheck endpoint would help external tools provide clear guidance before activation.

Suggested output:
  • is_consistent (true/false)
  • blocking errors
  • warnings
  • optional rule-level details (for example: no groups, no questions, no active questions, groups without questions)
This would improve UX and reduce failed activation attempts in integrations. I am working in Python now.

Thanks for considering it.

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

More
2 weeks 6 days ago #274864 by bismark
It is possible to create a plugin that performs additional checks before a survey is activated and prevents the activation if one of those checks fails, using the
Code:
beforeSurveyActivate
event.So I am wondering which specific consistency checks you have in mind for such an API endpoint.

markob.de

Please Log in to join the conversation.

More
1 week 6 days ago #274937 by Mazi
From my point of view the most important pre-check I'd love to see is the max column limit. If your survey is very large, it may fail to activate.
It would be very helpful if LimeSurvey could check the underlying limit on question creation (using a different plugin event) and show a warning if your survey reaches ~1000 columns or more.

Best regards/Beste Grüße,
Dr. Marcel Minke
survey-consulting.com
offlinesurveys.com
Feel free to contact me by email for professional LimeSurvey support!

Please Log in to join the conversation.

More
1 week 6 days ago #274951 by tammo
When you want to make a survey "live", you hit a button. Then a process starts in which LimeSurvey software does some checks and when these checks are OK, the survey will be made live. 

I would like to do these checks and report on the results, without setting the survey on "live".

A check on number of columns would indeed be great, then also: report on the number of columns.

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

More
1 week 4 days ago #274963 by jelo

A check on number of columns would indeed be great, then also: report on the number of columns.
 
To get rid of a database structure which needs such checks would be better.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose