Expected behavior: User inputs text in textbox. User presses enter. Microflow gets triggered. I have 3 textboxes on one page of which 2 trigger one microflow and the other triggers a different microflow. In Mendix 3, the enter key trigger was handled by the Inline Object Creator widget. The HTMLSnippet solution from this question doesn't work in Mendix 6.10.11 since that widget is outdated and the question is from 3 years ago. The KeyboardShortcut widget doesn't distinguish between textboxes and will trigger all the microflows. For now, I've solved it by having an On Leave trigger and microflows that don't do anything with an empty textbox. This is not ideal for users used to hitting enter. Below is a screenshot of the page: The microflows retrieve and filter a list of results based on the zoekterm and uitsluitingen. The zoekterm and uitslitingen are added to a list below their respective textbox. Each new item filters the list further. Productcode is only shown by switching the view with the radiobuttons and that results in a new search result list each time.
How about the Textbox Enter Key Widget? That's designed to do exactly what you say you're looking for, though Mike's suggestion about AutoComplete makes a lot of sense.