- Posts: 12
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to save data while Running survey LS.3v
- Hiccup
- Topic Author
- Offline
- New Member
Less
More
1 year 11 months ago #228106
by Hiccup
How to save data while Running survey LS.3v was created by Hiccup
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Version 3.25.14+210218
Own server or LimeSurvey hosting: Own
Survey theme/template:
==================
My Question is :
I have One survey which have 10 Group and We display 9 Group to fill question and answers and
Last Group will be stored date and time of which time user will be reach the group number 5.
I want to create one plugging which is run with running survey and save data in group.
based on question code arrive we save data into group 10 and same thing do while we reach our related group and we save data.
How can we achieve this thing using plugin.
if you have any question regarding this details please ask me and sorry if you do not understand properly my details.
Your LimeSurvey version: LimeSurvey Version 3.25.14+210218
Own server or LimeSurvey hosting: Own
Survey theme/template:
==================
My Question is :
I have One survey which have 10 Group and We display 9 Group to fill question and answers and
Last Group will be stored date and time of which time user will be reach the group number 5.
I want to create one plugging which is run with running survey and save data in group.
based on question code arrive we save data into group 10 and same thing do while we reach our related group and we save data.
How can we achieve this thing using plugin.
if you have any question regarding this details please ask me and sorry if you do not understand properly my details.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13668
- Thank you received: 2496
1 year 11 months ago #228109
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.
Replied by DenisChenu on topic How to save data while Running survey LS.3v
My opinion :
bets is to use equation and not plugin here …
Create an equation question at each gorupe with (for example)
(for group 1)
{G10CurrentGroup = 1}
{G10MaxGroup = max(G10MaxGroup,1)}
etc …
bets is to use equation and not plugin here …
Create an equation question at each gorupe with (for example)
(for group 1)
{G10CurrentGroup = 1}
{G10MaxGroup = max(G10MaxGroup,1)}
etc …
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.
Please Log in to join the conversation.
- Hiccup
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
1 year 11 months ago #228112
by Hiccup
Replied by Hiccup on topic How to save data while Running survey LS.3v
Hi DenisChenu
Thank you for the Reply.
I have to save other values like GPS details of user [lat and long ]
so the equation will not work in this I think so.
i want to take user current location details and stored in last group
every group time I have to take the user location saved in my last group.
Thank you for the Reply.
I have to save other values like GPS details of user [lat and long ]
so the equation will not work in this I think so.
i want to take user current location details and stored in last group
every group time I have to take the user location saved in my last group.
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11678
- Thank you received: 2748
1 year 11 months ago #228116
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic How to save data while Running survey LS.3v
Save the GPS data in a hidden equation question for every group, then transfer it. No big deal.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- Hiccup
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
1 year 11 months ago #228147
by Hiccup
Replied by Hiccup on topic How to save data while Running survey LS.3v
Can you please share any example link so I can understand more details with it.
we can not add that data in every group so we separately make one group where we want to save all data while running the survey .
any other way without equation we can do this ?
we can not add that data in every group so we separately make one group where we want to save all data while running the survey .
any other way without equation we can do this ?
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12994
- Thank you received: 3996
1 year 11 months ago #228150
by Joffm
You should provide a lss export of your survey that we understand what you really want to achieve.
In your first post you wanted to store date and time of a certain group
And in your next post suddenly it is GPS
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic How to save data while Running survey LS.3v
I should say, it it the other way around.Can you please share any example link so I can understand more details with it.
You should provide a lss export of your survey that we understand what you really want to achieve.
In your first post you wanted to store date and time of a certain group
Last Group will be stored date and time of which time user will be reach the group number 5.
And in your next post suddenly it is GPS
I have to save other values like GPS details of use
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- Hiccup
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
1 year 11 months ago #228151
by Hiccup
Replied by Hiccup on topic How to save data while Running survey LS.3v
Hi Joffm
Thank you for your reply.
I will provide you lss in soon.
My question is
I have a total of 10 group
The last group is hidden and it's a multi-short question so there have min 10 sub-questions we add to it.
when we run a survey and reach group number 2 we want to save some value in group 10 like date & time and Gps details.
after that when we reach Group number 5 we want to save some value in group 10 like date & time and Gps details.
after that when we reach Group number 9 we want to save some value in group 10 like date & time and Gps details.
How can we achieve this thing using plugins?
Note: GPS details are the current location of the User so we take lat and long using Javascript.
Thank you for your reply.
I will provide you lss in soon.
My question is
I have a total of 10 group
The last group is hidden and it's a multi-short question so there have min 10 sub-questions we add to it.
when we run a survey and reach group number 2 we want to save some value in group 10 like date & time and Gps details.
after that when we reach Group number 5 we want to save some value in group 10 like date & time and Gps details.
after that when we reach Group number 9 we want to save some value in group 10 like date & time and Gps details.
How can we achieve this thing using plugins?
Note: GPS details are the current location of the User so we take lat and long using Javascript.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12994
- Thank you received: 3996
1 year 11 months ago #228158
by Joffm
As told several times, use an equation.
To store the time insert a hidden question of type "short text" (QTx) with default answer {date("Y-m-d h:i")}
And to gather everything in your last question QX
either
use an equation with
{QX_SQ001=QT1}
{QX_SQ002=GPS1long}
{QX_SQ003=GPS1lat}
{QX_SQ004=QT2}
...
or set the default values of the multiple text question to
{QT1}
{GPS1long}
{GPS1lat}
...
I do not know how you capture the long and lat, therefore only placeholders here.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic How to save data while Running survey LS.3v
I do not know.How can we achieve this thing using plugins?
As told several times, use an equation.
To store the time insert a hidden question of type "short text" (QTx) with default answer {date("Y-m-d h:i")}
And to gather everything in your last question QX
either
use an equation with
{QX_SQ001=QT1}
{QX_SQ002=GPS1long}
{QX_SQ003=GPS1lat}
{QX_SQ004=QT2}
...
or set the default values of the multiple text question to
{QT1}
{GPS1long}
{GPS1lat}
...
I do not know how you capture the long and lat, therefore only placeholders here.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11678
- Thank you received: 2748
1 year 11 months ago #228189
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic How to save data while Running survey LS.3v
Save the information you want at the position where you want it (group 2 and group 5) into hidden equations or hidden questions.
Then load this information into the group you want to via equation. yes, you have the data twice, but who cares???
Then load this information into the group you want to via equation. yes, you have the data twice, but who cares???
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.