Aha!! It wasn't the stuff in the head messing me up!! It was on the submit button! Changed it to this:
<form method=post action="(%ENV_SCRIPT_NAME%)" name=newticket enctype="multipart/form-data" onsubmit="return check(this)" onsubmit="return onlyone()">
Works like a charm. I don't know if the double onsubmit is allowed or will work but I get no errors and my price field stops the ticket if the amount is not in range. Many thanks Sparky!
I'm certain you can't have a two identical attributes within the same tag... it may work in a crappy non-compliant browser like Explorer but might not work in Firefox or Safari.
What's within "onsubmit" should follow the same rules as any Javascript...
onsubmit="return check(this);return onlyone();"
If you don't want to call two functions at once, you could combine check(); and onlyonce(); into one new Javscript just for this page.
See my Ticket Merge or Ticket Editor modifications for how to submit TTX via a Javascript.