Specialized type-ahead
问题 I am trying to provide type-ahead functionality for a job number field. The pattern of the field is 8 followed by as many zeros as necessary to make the string they type a total of 10 digits. In other words, 8000001234 or 8001234567. In these examples, the users only want to type 1234 or 1234567 and have the type-ahead return the corresponding documents. Is this possible? 回答1: This can be done by using the parameter valueMarkup in xp:typeAhead. In the suggestion response you add the value you