Hi all,
I'd like to extend the EM by some own funtions for csv-strings (like '1;01.01.2015;Hello World'). Found some info at [url=https://https://www.limesurvey.org/manual/Expression_Manager_for_developers]Expression Manager for developers[/url]
It's working fine with the php part of the code (em_core_helper.php). So an added function like
Code:
csvgetdata(separator, datastring, item)
works fine and gives back what is expected (eg by calling csvgetdata(';', '1;01.01.2015;Hello World', 3) it gives back 'Hello World'
Now my annoying :woohoo: problem:
Obviously for relevance equations the javascript part of the code is required (is this correct?)
I tried to add functions at em_javascript.js, but nothing happens. Even the simple function
Code:
function testme()
{
return 1;
}
does not work for the relevance equation. Is there anything to add at other files? The description at 'Expression Manager for Developers' does not mention anythig about this.
Hope there is someone for help.
Thanks in advance