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
  • Hiccup's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago #228106 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.
  

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 7 months ago #228109 by DenisChenu
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 …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • Hiccup
  • Hiccup's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 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.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 7 months ago #228116 by holch
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
  • Hiccup's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 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 ?

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 7 months ago #228150 by Joffm

Can you please share any example link so I can understand more details with it.

I should say, it it the other way around.
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
  • Hiccup's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 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.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 7 months ago #228158 by Joffm

How can we achieve this thing using plugins?

I do not know.
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
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 7 months ago #228189 by holch
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???

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.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose