Dialog Box - Search for multiple field matches
I will attach some screenshots to hopefully make the situation a little easier to understand. I have a few fields here:
They have the following fields associated with them:
I have a search script that searches for records by asking for some info with a dialog box, and it can find a record when a user enters a date. The user-entered date searches for a matching "Date" field.
Ideally I would like the user to just enter the date they are looking for in that one field, and from there it searches for records where the fields "Date" or "Date2" match whatever they typed in.
I have the search and display script working perfectly for "Date" and just need help applying it to multiple fields.
Dialog Box image: