View Issue Details
@ollehar : can be accepted without a plugin and a test ?
I think it's needed for plugin since some year ... for specific validation (for example validate a question via an API)
I can use it in place of [15873: setVariableExpressionEnd have lack of system to udate question part](https://bugs.limesurvey.org/view.php?id=15873)
Oups ... sorry
1. Fill value (if null) by an external API ($updatedValues)
2. Set hidden for [organizeSurvey](https://gitlab.com/SondagesPro/coreAndTools/organizeSurvey/-/blob/master/organizeSurvey.php#L93-96)
3. Control validity by a complex method (call API for example) and set valid tue/false (i din't add it, but needed).
Maybe : create an event here : https://github.com/LimeSurvey/LimeSurvey/blob/03840d3441aa0eb6d2d2bf83d754b591798a6803/application/helpers/expressions/em_manager_helper.php#L6278
And allow update partially `$qInfo` ?
My idea is allowing plugin to update some core part :
Maybe fix 15873: setVariableExpressionEnd have lack of system to udate question part is better ?
> _ValidateQuestion allow to set default value OR to set relevance or to set hidden or to set valid/invalid (then disable move next or submit survey)
> allowing plugin to update some core part
See setVariableExpressionEnd (and fix)
> Control validity by a complex method (call API for example)
Think it can be done with Expression manager function. sample` myApiCheckvalidity(self.NAOK)`
There are no way to set hidden/relevance/etc ... more dinamically (must be in setVariableExpressionEnd)
|2020-02-14 07:23||DenisChenu||New Issue|
|2020-02-14 07:25||DenisChenu||Note Added: 55993|
|2020-02-14 11:03||ollehar||Note Added: 56004|
|2020-02-14 11:20||DenisChenu||Note Added: 56009|
|2020-02-14 11:22||DenisChenu||Note Added: 56010|
|2020-02-14 11:23||DenisChenu||Note Added: 56011|
|2020-02-19 15:57||DenisChenu||Note Added: 56098|