Welcome to the LimeSurvey Community Forum

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

How can i set different status for quota full and quota is 0

  • douerliang
  • douerliang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 10 months ago #136313 by douerliang
Hello everyone,

Whether someone have encountered such a demand:
When I set a quota is 0 , i want to store the status is different from the quota full.

For example:
When the quota is full, the id is marked as "No Completed".
I hope if the quota limit is 0, the id Marked as other state( for example: 'excluded').
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #136352 by DenisChenu
Not available actually.

But , maybe can be done in plugin (afterSurveySubmitted event).

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • douerliang
  • douerliang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 10 months ago #136371 by douerliang
Thankyou.

I think the AfterSurveyQuota event will help me in plugin.

Is my idea right?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #136373 by DenisChenu
Yesp,

Right,.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: douerliang
The topic has been locked.
  • douerliang
  • douerliang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 10 months ago #136378 by douerliang
Hi,Denis
Thank you for your help!
This is the earliest reply I have received.
Are you awake or not sleeping?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #136379 by DenisChenu
It's 8h30 in France.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • douerliang
  • douerliang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 10 months ago #136380 by douerliang
I think you are in America.It seems I was wrong.
It's 14h40 in China.I am Chinese.

Nice to meet you.
The topic has been locked.
  • douerliang
  • douerliang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 10 months ago #136750 by douerliang
hi,Denis
I need your help.
Now,I'm coding a plugin use the afterSurveyQuota event.
I have successfully implemented a dynamic jump URL.
But I have a more difficult problem.

There are two kinds of state(completed/incompleted) for responses.I want to add the third state.
But the sublimdate field‘s type is datetime.
I don't know how to do it.

Please help me !
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #136874 by DenisChenu
I think then i use an hidden question and fill it when go to quuota or after submitted or an extra table ..... Your right : you have only 2 state for submitdate

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #136875 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose