- Posts: 2
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
((substr(SAVEDID, -1) == "0") or (substr(SAVEDID, -1) == "2") or (substr(SAVEDID, -1) == "4") or (substr(SAVEDID, -1) == "6") or (substr(SAVEDID, -1) == "8"))
((substr(SAVEDID, -1) == "1") or (substr(SAVEDID, -1) == "3") or (substr(SAVEDID, -1) == "5") or (substr(SAVEDID, -1) == "7") or (substr(SAVEDID, -1) == "9"))
If by counter you mean a counter for counting the current number of completed data sets, then this isn't possible because the Limesurvey placeholders can only refer to data of the current survey session.SnowyEgret wrote: Thanks Ben this will work fine for me.
Just out of interest, could I set up a counter of type integer in a hidden question at the top of the survey which I would be able access globally and do modular arithmetic on?