Hello,
I am new to AEM forms and trying to write custom function for the rule editor.
I used my clientlibs category to add the custom functions.
Now problem is this when I call a custom function from the rule editor (visual mode). it generates a code of function call where we can see an extra ; add after the function call.
e.g.
if my function is -
function callme(){
return "any value" ;
}
then in rule editor i tried to call this for comparing the value-
now code generated by the rule engine looks somthing like this-
if(callme();=="some value"){
true;
}else{
false;
}
I need to know is there any specific jsDocs which can avoid this extra ; from the function call