Hello! I have an image keywording database. I am using the calculation below to populate keywords into a button bar based on the contents of a field (breaking down a comma-space field of keywords into individual keywords). I want to script each button to allow a user to apply or remove that particular keyword from a field - essentially, determine if the particular keyword is already in the field mentioned above and if not, add it. Conversely, if it is in the field and the button is clicked, to remove that keyword from that field.
I am stuck on how to write one script/calculation to do this! Thanks in advance for your time and assistance!
Let ( ListedValues = Substitute ( CommaListField ; ", " ; ¶ ) ;
GetValue ( ListedValues ; 1 )