“To have no alternative but to” in Chinese is 只得 (zhǐdé).
我无奈只得跟随着她。
I was compelled to follow her.
Example sentence from Tatoeba (CC BY 2.0).
Not to be confused with: 值得 (zhídé, worth the money)