- Posts: 13
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
Because if we don't filter : paerticpant can enter anything, and it's a really bad system … there still some effort to do (for example for array filter in choice).mpac_limes wrote: Was it intentional and there is a strong reason to do so?
Not currently, but : you can ask for a new feature and make a pull request with updated code.mpac_limes wrote: Could it be possible to enable an opt-out control for this question type validation?
DenisChenu wrote:
Because if we don't filter : paerticpant can enter anything, and it's a really bad system … there still some effort to do (for example for array filter in choice).mpac_limes wrote: Was it intentional and there is a strong reason to do so?
Well, in a text question, users can equally enter anything, and nothing bad happens. I imagine that answer codes not matching may be a concern, but I don't think my use case is so wild to fully disallow it without an alternative. Maybe questions marked as "not validated" could be treated like a free text value after the survey is submitted.
Not currently, but : you can ask for a new feature and make a pull request with updated code.mpac_limes wrote: Could it be possible to enable an opt-out control for this question type validation?
Else : you add the option before question view or after (user can enter anything) ?
If before question view : add the new answer code in www.limesurvey.org/manual/BeforeQuestionRender event
If after : 2 solution,
1. Add new answer code in a ajax event
2. Add a new answer code in www.limesurvey.org/manual/BeforeSurveyPage event (check POST value, if you're OK with POST value and need a new answer : create it) : this allow you to validate this value too.
And former version allow public user to broke DB … don't find way to compromise DB, but …mpac_limes wrote: I agree that somehow you could get it working but the point is that something that former limesurvey versions allowed to do in a breeze, now needs a complex workaround.
autoCompleteAsDropdown: Disable javascript search system and show autocomplete as dropdown.