- Posts: 3
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
can i change the express in php?
- kimberhos
- Topic Author
- Offline
- New Member
Less
More
8 years 11 months ago #120843
by kimberhos
can i change the express in php? was created by kimberhos
Hi community,
I have some questions to ask help.
1.Is that EM server side application or browser side?
2.I searched forum, if I add a new em, only add in Em_core_helper.php,What's the usage of em_javascript.js?
3.What's the function of "2","3" in this?
I have some questions to ask help.
1.Is that EM server side application or browser side?
2.I searched forum, if I add a new em, only add in Em_core_helper.php,What's the usage of em_javascript.js?
3.What's the function of "2","3" in this?
Code:
'substr' => array('substr', 'substr', gT('Return part of a string'), 'string substr(string, start [, length])', 'http://www.php.net/manual/en/function.substr.php', 2,3),
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13704
- Thank you received: 2502
8 years 11 months ago #120852
by DenisChenu
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.
Replied by DenisChenu on topic can i change the express in php?
1 : client side (javascript) + server side (PHP)
2 : em_javascript are the javascript function for Expression Manager
3 : 2 and 3 :
And loook at RDP_RunFunction, then substr support 2 or 3 arguments
2 : em_javascript are the javascript function for Expression Manager
3 : 2 and 3 :
Code:
// Each allowed function is a mapping from local name to external name + number of arguments // Functions can have a list of serveral allowable #s of arguments. // If the value is -1, the function must have a least one argument but can have an unlimited number of them // -2 means that at least one argument is required. -3 means at least two arguments are required, etc.
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 following user(s) said Thank You: Ben_V
The topic has been locked.
- kimberhos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 1
8 years 11 months ago #121553
by kimberhos
Replied by kimberhos on topic can i change the express in php?
1.Is that js side or php side?
Not js+php, because the php code is the same as js code
Not js+php, because the php code is the same as js code
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10119
- Thank you received: 3598
8 years 11 months ago #121562
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic can i change the express in php?
What Denis means, is that it is both. Expression manager is handled with both server-side PHP and dynamic client-side JavaScript.1.Is that js side or php side?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.