The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

fc_PreProcess doesn't fire -- must be me dumb

vossavantvossavant Member
in Help edited November 2010
Hi guys,

Sorry to bother you with this, since I've read several threads but no luck.

I can't get fc_PreProcess to fire.

All I'm looking to do is validate a price input, so that if someone clicks "Donate" without entering a price (or entering non-numeric characters), they get an error message and the FoxyBox does not load.

I tried something like:
<script type="text/javascript" charset="utf-8">
function fc_PreProcess() {

And this is after all of my other jQuery and FoxyCart stuff has been loaded. On click of the donate button, the FoxyBox opens -- no alert message.

Is there a really basic tutorial somewhere or a boiled down version of this type of validation you can point me to?
  • brettbrett FoxyCart Team
    Can you share a URL with your attempt?

    One important note: It's not fc_PreProcess() as of v0.7.0+, so if you're on 0.7.0/1, ... that'd be the problem ;)
  • Uhhh...

    I'm on 0.7.0 so that's the problem. Looks like it's just
    . Thanks, I'll give that a go!
Sign In or Register to comment.