http://wiki.indigodomo.com/doku.php?id=indigo_6_documentation:plugin_guide#menuitemsxml
of the documentation the following seems to have a mistake:
- Code: Select all
def validateEventConfigUi(self, typeId, eventId, valuesDict):
# Do your validation logic here
errorDict = indigo.Dict()
errorDict["someKey"] = "The value of this field must be from 1 to 10"
errorMsgDict[“showAlertText”] = “Some very descriptive message to your user that will help them solve the validation problem.” <<<< is this correct?
valuesDict["someOtherKey"] = someNewValue
return (False, valuesDict, errorDict)
"errorMsgDict" is not used in return, should it be just "errorDict" ?
Karl