Mix all the ingredients in a large mixing bowl. (As you're mixing them, lightly squeeze the mixture so as to release the juices from onions and potatoes)

Scoop a tablespoon of the mixture and shallow-fry until one side turns golden brown. Then flip and fry the other side until it too turns golden brown.