0

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".

marked as duplicate by RegDwigнt Jul 12 '14 at 14:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

I believe that the following is the best solution: 'Also, "onclick" event removes the group in question from or adds it to the list.'

1

Also, "onclick" event toggles the group in question on or off the "excluded_groups" list.

toggle

https://en.wiktionary.org/wiki/toggle#Verb

  1. to alternate between two positions using a single switch or lever.
    Clicking a button will alternately toggle its light on OR off.
  2. to switch between alternate states.
    toggle to lower/upper case
    You can quickly toggle the case of selected text by pressing Shift+C

Not the answer you're looking for? Browse other questions tagged or ask your own question.