Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

PJAX Perspective (configurations, container target, disable/enable, modify, etc)

More
2 years 2 months ago - 2 years 2 months ago #210690 by DenisChenu
All twig part and theme part need better documentation …

For QuestionTheme (for example) : my documentation is tparner repos : github.com/tpartner?tab=repositories for example …
For specific twig function : github.com/LimeSurvey/LimeSurvey/blob/ma...S_Twig_Extension.php

Create documentatoon are really needed, but make plugin for my part) give money to buy sandwich (and home …) … not documentation ,

 [EDIT]
Hey : manual.limesurvey.org/Theme:Available_function

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 2 years 2 months ago by DenisChenu. Reason: EZDIT
The topic has been locked.
More
2 years 2 months ago #210708 by cheeseburger
hahaha thank you DenisChenu - I love sandwiches as well hahaha
The topic has been locked.
More
2 years 2 months ago #210712 by tpartner

Then : you can call (for sample)
{{ processString("{Q1.NAOK}}",1) }}

All twig part and theme part need better documentation …

Yes, we desperately need documentation for the custom themes, including functions available in the TWIG files.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
2 years 2 months ago #210718 by DenisChenu

tpartner wrote: Yes, we desperately need documentation for the custom themes, including functions available in the TWIG files.

We have manual.limesurvey.org/Theme:Available_function for function (and how to adding).
But : no real place for Theme management and edition …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
2 years 1 month ago #210850 by cheeseburger
I'm tempted to start a new topic but want to leverage the context of what we've been discussing: So far, we've been exploring GETTING values. Is it possible to SET a value of a question (short text field type) from within a hybrid Javascript/Expression Manager block? I had seen in other posts where you explain how to simply update the value of a field and then you trigger a keyup event to render the value to the DB. Does this remain *the* method to perform a SET? (example below)

$("#answer{SGQ}").val(whatiwant).trigger('keyup');

Thanks
The topic has been locked.
More
2 years 1 month ago #210852 by tpartner
JavaScript:

The keyup event fires Expression manager, it does not save to the database, that is only done when submitting the page.

The JS varies substantially depending on question type.

Expression Manager:

Set a question - manual.limesurvey.org/ExpressionScript_-..._assignment_operator

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: cheeseburger
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose