HD$ GetAnswerRepeatIndex Method |
This function returns the full set of repeat indexes for the current dialog. When using AnsGetVal(String, String, function) and AnsSetVal(String, Object, String, function) with repeated dialogs, this function allows you to get or set the values of variables in the current repetition.
JavaScript API: Embedded
Assembly: hotdocs.js Version: 1.0.0.0 (1.0.0.0)
Syntax
JavaScript
function GetAnswerRepeatIndex(callback);
Parameters
- callback
- Type: function
A function to which the repeat index of the current dialog will be passed. This will be a string in the form of "0:-1:-1:-1", where the index at each repeat level is separated by a colon, and -1 is used to represent unused levels of repetition.
See Also