Created
April 15, 2020 07:49
-
-
Save bjoerntx/4a2899725c9accb14dcf3a514636a503 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function textFieldEnteredHandler(enteredField) { | |
if (enteredField.textField.type === "CHECKFORMFIELD") | |
{ | |
TXTextControl.formFields.getItem(function(checkFormField) { | |
checkFormField.getChecked(function(checked) { | |
checkFormField.setChecked(!checked); | |
}) | |
}) | |
} | |
} | |
TXTextControl.addEventListener("textFieldEntered", textFieldEnteredHandler); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment