I'm still pretty new to JS, and I'm not sure what I did wrong in the above.

Did you mean to leave the semi-colon off the end in your example? I have a semi-colon at the end of the line.

C_Ankerstjerne
—
2011-09-04T18:32:14Z —
#10

You could do this with Javascript, by replacing the current Javascript with a new script, which includes the current functionality. The question is whether you want to. I think I can see what you want (i.e. large orders require a custom price), but re-directing the user without warning, and using Javascript, is bad usability, and confusing for the user.

In stead, why not split up the form? First, have a form that asks the user for the number of words. Have this form direct the user to a page that either have a link to PayPal, or to a page that explains that a custom quote is required. This also has the advantage of not requiring Javascript, and it allows you to clean up that ghastly code that PayPal is forcing you to use

superjumper
—
2011-09-04T18:14:35Z —
#11

Sure, here's the code. By gateway I mean the other three options have dollar amount values that are passed on to a payment gateway (paypal, moneybookers, etc). The last option I need to redirect.