View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08761 | Feature requests | Survey participants (Tokens) | public | 2014-02-24 17:42 | 2014-02-26 12:04 |
Reporter | fairsay | Assigned To | |||
Priority | normal | Severity | feature | ||
Status | new | Resolution | open | ||
Summary | 08761: Pre-filling registration attribute via URL | ||||
Description | I wish to pre-fill an attribute via the URL for a survey which uses tokens and allows registration. At the moment this isn't possible (from reading through the documentation) but I suspect would be a useful feature for many. My specific use-case is to use it for a tracking code in the URL so I know the source (or other aspects I wish to track) of the registration. Is this a feature others want or could see as being useful? | ||||
Additional Information | I have a team who can implement it for me. Ideally I'd like to see it as a contribution to the LimeSurvey code base. For this, I need some guidance to help them quickly identify the files that need editing, the coding conventions they need to work with and other aspects that can help them produce code you can add to the core. What guidance should I pass to this developer (e.g. I can refer them to this ticket) to help them help you integrate this feature. e.g. I know it could be done via javascript, but that seems a bit hackish so how should they do it 'right' for re-use by others? | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Story point estimate | |||||
Users affected % | |||||
FYI: - I've logged this as a 'patch' instead so this can be closed/deleted. |
|
Think a plugin can do that. Some replace register somewhere. |
|
OK - so you are saying develop it as a plugin that extends the register code? |
|
I work on a replaceRegister plugin actually, not ready, but i put the link here when it's done. PS: here i think i allow prefilling via URL but prefilling of token attribute. |
|
OK - so the work I need done will be either this week or next week. Could they help you with this plugin, otherwise they'll just do a custom implementation (and I'd prefer it contributes to the lime survey code base) |
|
Working draft : https://gitorious.org/ls-extendregister/ls-replaceregister |
|
Thanks DenisChenu - I'll have the developers take a look. How close would you estimate you are to release? (I know all open source is ready when ready, but just to give an idea). |
|
You can use it in 2.05 already. For 2.06/2.1 : don't know but i think we don't include "Pre-filling survey via URL in register", maybe prefill token atribute (don't know). |
|
OK - I'll check it out (but not on my production system initially!) and then ask the developer to add the 'prefill token attribute' functionality. |
|
You have it actually, but ONLY for attribute not in show_register If attribute is in show_register : only set with POST |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-24 17:42 | fairsay | New Issue | |
2014-02-25 11:33 | fairsay | Note Added: 28902 | |
2014-02-25 17:12 | DenisChenu | Note Added: 28915 | |
2014-02-25 17:14 | fairsay | Note Added: 28917 | |
2014-02-25 18:31 | DenisChenu | Note Added: 28921 | |
2014-02-25 18:59 | DenisChenu | Note Edited: 28921 | |
2014-02-25 20:16 | fairsay | Note Added: 28922 | |
2014-02-26 10:38 | DenisChenu | Note Added: 28925 | |
2014-02-26 11:11 | fairsay | Note Added: 28927 | |
2014-02-26 11:34 | DenisChenu | Note Added: 28930 | |
2014-02-26 12:01 | fairsay | Note Added: 28931 | |
2014-02-26 12:04 | DenisChenu | Note Added: 28932 | |
2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |