View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|15876||Feature requests||Plugins||public||2020-02-14 07:23||2020-02-19 15:57|
|Summary||15876: afterValidateQuestion event to allow error or relevance by plugins|
function _ValidateQuestion can be really interesting to extend.
My idea was :
|Tags||No tags attached.|
@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
Oups ... sorry
Maybe : create an event here : https://github.com/LimeSurvey/LimeSurvey/blob/03840d3441aa0eb6d2d2bf83d754b591798a6803/application/helpers/expressions/em_manager_helper.php#L6278
My idea is allowing plugin to update some core part :
Maybe fix 15873: setVariableExpressionEnd have lack of system to udate question part is better ?
See setVariableExpressionEnd (and fix)
Think it can be done with Expression manager function. sample
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|