One thing you can do to offset the shock of the initial price tag is to install the new vinyl fence yourself, without calling in the pros. Pulling off a DIY vinyl fence install is relatively simple.
If you're installing a new rail ... If you have small holes in the fence, another DIY hack is to use a vinyl fence patch kit, ...