On 4.X (with helper) : i don't know : maybe look at code. And if don't exist : create a feature request.
I move this topic to Development forum
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
I really dislike this JS only form … really awfull to fix and improve.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
I could make some progress and finally get it work but ONLY with the inherit button off . I mean my new option can only be modified at the sruvey level if i broke the inheritance..
I would like it to be completely independent of the inheritance process, in the same way as the Fruity variations for example.
I think it's not possible currently : only variations are out of inherit by LimeSurvey fixed code.
(PS : i think it's a good idea to have some "inherit by group)
Or : you can save all value to inherit in place of global inheritance. Again : it's done only in JS …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Thanks for the info..
In fact I could have 2 solutions
1)keep the toggle inheritance button but remove, via options.twig, all the options fields except my "free" emetteur2 field . Survey administrator would just have to refuse the inheritance to be able to fill the emetteur2 field.
2) your solution which is the one I tried without success. How could I simply save all value to inherit ? I could not find the way .. I could then just remove the inheritance toggle button. It will be on by default since inheritance is defined to 1 in options.js and leave only my "free" field emetteur2 to display
Which one would you recommend.
I was so enthousiastic with the new options features in 3.x and thought it would be so simple to have a generic master theme and let each survey administrator chose the name of their department that I could then simply use in the navbar.twig file to be displayed in my header.. Maybe there is a simple solution for that ??
Maybe it's best to check on 4.X master version and the new option system.
And ask for a feature request
I have a feature request to do for dropdown with category
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.