Beware in ThingWorx 9: EnterKeyPressed works differently
Sorry if this was already mentioned somewhere. I searched and didn't find it.
In ThingWorx 9, the EnterKeyPressed binding now behaves like "Focus Lost". If you have textfield with the EnterKeyPressed action bound, that action will be fired whenever focus leaves the text field. I opened a case with PTC when I discovered the behavior and was told it is working to specification: "this event is triggered when a user clicks an area outside the widget or presses the enter key after updating the widget value".
We're most affected with some mashups that have several text fields for optional user input. Prior to ThingWorx 9, the user could enter something in one of the text fields and press enter to trigger the action, or tab to the next field and optionally press enter there, etc. Now if the textfield has the EnterKeyPressed action bound, that action runs when the user presses tab to go to the next textfield.

