This question already has an answer here:
I a technical correspondence, I wanted to express the fact that there are two outcomes of "onclick" event:
Also, "onclick" event removes the group in question from the list "excluded_groups" or adds it to the list.
However, the above sentence looks too long to me. Is the following sentence grammatically and stylistically correct: (note that there is no "from" after "remove", or anywhere else in the sentence)
Also, "onclick" event removes or adds the group in question to the list "excluded_groups".