- Posts: 409
- Thank you received: 34
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can I control the TOKEN format?
- blocka
- Topic Author
- Offline
- Platinum Member
Less
More
3 years 1 month ago #211523
by blocka
Can I control the TOKEN format? was created by blocka
In some of our surveys, we send out invitiations via snail mail. Each mailer has a token on it. While I can create my own list of tokens, and import them into LS, this is an extra step I'd like to avoid...
I'm wondering if there is a way to prevent LS from generating TOKENs that contain both the digit zero and the uppercase letter O? This is because sometimes we get tokens like ABo0O2OA -- and in print, the zero and the letter O look very similar, resutling in typoes.
For my case, if someone can provide code to modify LS to avoid O and zero, I can update my local instance to accomodate this.
I'm using version 3.25.6+201229
I'm wondering if there is a way to prevent LS from generating TOKENs that contain both the digit zero and the uppercase letter O? This is because sometimes we get tokens like ABo0O2OA -- and in print, the zero and the letter O look very similar, resutling in typoes.
For my case, if someone can provide code to modify LS to avoid O and zero, I can update my local instance to accomodate this.
I'm using version 3.25.6+201229
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
3 years 1 month ago #211623
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Can I control the TOKEN format?
No, this is not available in the core package.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 964
- Thank you received: 217
3 years 1 month ago #211642
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Can I control the TOKEN format?
We did some work on this, but at the moment I do not know if the plugin will work out of the box:
github.com/toolsforresearch/TFRcustomToken
Please create an issue if this needs follow-up,
Tammo
github.com/toolsforresearch/TFRcustomToken
Please create an issue if this needs follow-up,
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- Jane
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 16
- Thank you received: 14
3 years 1 month ago #211643
by Jane
Replied by Jane on topic Can I control the TOKEN format?
In LS4 there is a core plugin that allows this:
github.com/LimeSurvey/LimeSurvey/tree/ma.../plugins/customToken
github.com/LimeSurvey/LimeSurvey/tree/ma.../plugins/customToken
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
3 years 1 month ago #211703
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 Can I control the TOKEN format?
But please note that LS4 is not yet declared stable so for production I would still wait to use it, for testing: Go for it!In LS4 there is a core plugin that allows this:
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- blocka
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 409
- Thank you received: 34
3 years 1 month ago #211704
by blocka
Replied by blocka on topic Can I control the TOKEN format?
Would it be a huge amount of effort to make the plugin 3.x compatible? Alas, I'm not a PHP developer, but might be able to sponsor the work...
The topic has been locked.
- Jane
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 16
- Thank you received: 14
3 years 1 month ago #211705
by Jane
Replied by Jane on topic Can I control the TOKEN format?
Did you try the plugin at
github.com/toolsforresearch/TFRcustomToken
?
The following user(s) said Thank You: DenisChenu
The topic has been locked.