This function searches all screen fields for the given search string. The results are returned as an array.
- search string - the text to search for on the screen
- exact match - optional parameter that specifies whether the search must find an exact match or a partial match; default is true (exact match)
The following code finds all date labels on the screen and attaches calendars to the fields immediately to the right of them.