Im trying to either add the current user to a multi person/group field or remove them if they are already in the field when they click a button. My code works to decide which button to render on the page - it will show "Add" if the current user is not in
the multi person/group field (titled Members) or it will display "Remove" if the current user already exists in the multi person/group field.
My problem is that when the user clicks the button, i want to take the value in the multi person/group field and use XSL string functions to either add/remove the current user to/from the string and push the updated string back into the multi person/group
Ive tried changing the field to just display the account (rather than the name with presence), but it still pulls back a huge chunk of code that i cant work with.
Below is my code so far, just to give you an idea - anyone know what im doing wrong?
View Complete Post