I'm trying to enter the following:
but I don't know how to enter the rest as a triplet.
A triplet is 3 notes in the time of two. In your example there are 3 quarter notes in the time of two quarter notes. SO if you want to enter a rest to equal the quarter note triplet, enter a minim rest or two quarter note rests WITHOUT using the triplet notation.