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

More
3 years 3 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').

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
3 years 3 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #136371 by douerliang
Thankyou.

I think the AfterSurveyQuota event will help me in plugin.

Is my idea right?

Please Log in or Create an account to join the conversation.

More
3 years 3 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 .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: douerliang

Please Log in or Create an account to join the conversation.

More
3 years 3 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?

Please Log in or Create an account to join the conversation.

More
3 years 3 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
3 years 3 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.

Please Log in or Create an account to join the conversation.

More
3 years 2 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 !

Please Log in or Create an account to join the conversation.

More
3 years 2 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
3 years 2 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!