This seems like a popular question, but I haven't had any success in researching an answer that I could understand and implement.
What I'd like to do is have a button script which would trigger a search based on that button's name -- and I would like this to be dynamic.
For example, if the button is named CAT and I click it, I would like the script to return all records where CAT appears in field KEYWORDS.
If I then duplicate the CAT button and rename it DOG, and click it, I would like the script to return all records where DOG appears in field KEYWORDS.
I would like all this to happen without me having to change the button's script. Ideally, all I would like to do is duplicate the button and rename it.
Is this possible?
I've seen some discussion around this topic involving script parameters but I am not exactly sure how to make them work for my problem.
Thanks in advance!