We are working on adaptive forms based on form core components (Service pack: 6.5.21, Form version: 1.1.64). I need to write some custom functions which need "globals" as a param.
I am using the examples form the documentation: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/forms/adaptive-f...
/**
* resetField
* @name resetField
* @Param {string} input1
* @Param {object} field
* @Param {scope} globals
*/
function resetField(field,globals)
{
globals.functions.reset(field);
}
However when I chose this function from the rule editor, the "gobals" appeared as below:
This prevented me to save the rule.
I can't see any console errors. The custom functions works well if there is no "globals" param.
Any ideas on this?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @JennyLi6 , please enable following feature toggle for using scope param : FT_FORMS-11541
Views
Replies
Total Likes
Hi @JennyLi6 , please enable following feature toggle for using scope param : FT_FORMS-11541
Views
Replies
Total Likes
Thanks @arunattri , it fixed the issue
Views
Replies
Total Likes
Views
Likes
Replies