I've placed the validator code in the ascx file, and I have also tried using
The output in Firefox's error console is "feeAmountCheck is not defined". Here is the function (this was taken directly from firefox->view source)
Any ideas as to why the function isn't being found? How can I remedy this without having to add the function to my master page or consuming page?