HD$ SetAnswer Method |
This function sets the answer value for a variable. It can also set a single (indexed) value in a repeated answer.
JavaScript API: Embedded
Assembly: hotdocs.js Version: 1.0.0.0 (1.0.0.0)
Syntax
JavaScript
function SetAnswer(vName, value, ndx, callback);
Parameters
- vName
- Type: System
String
Variable name. - value
- Type: System
Object
New value to be set. Pass null to specify an unanswered value. - ndx
- Type: System
String
A string of numeric values delimited by colons (:). [optional] - callback
- Type: function
A function to call after the value has been set. HD$.ScreenRefresh is a good candidate, or you can create your own that will then call HD$.ScreenRefresh. [required]
Remarks
See Also