Configurations

The configuration metadata are returned from the attributes script below. Please see the Question Types for more information on the attributes.

Note

When configuring the attributes, it is recommended to use the Form Builder UI. This script is for advanced use cases where we need the attributes to be dynamically.

1
2
3
4
5
6
    (function (current, table, target_id, task_id, params) {

    var attributes = new FCQuestionRepository().getAttributes(current, table, target_id, task_id, params);
    return attributes;

})(current, table, target_id, task_id, params);