1. Hugh (cheesegrits) here. Thank you for all the good wishes. My back surgery was a success, post-op recovery is going well, and I'm getting stronger and feeling better every day. I hope to be getting back in the saddle and working support again over the next few days.
  2. IMPORTANT NOTE - we have made some changes in our github branch naming. The 'master' branch no longer exists, and is now called 'joomla25' (which is Fabrik 3.0). The 'joomla3' branch (which is Fabrik 3.2) remains unchanged. We have also removed all the other testing branches which had accuulated over the last few years. I have posted a thread in the Community forum for 3.0 with some more information, feel free to as questions there.

Calculation problem

Discussion in 'Subscriber Support' started by cytino, Jul 12, 2008.

Thread Status:
Not open for further replies.
  1. cytino New Member

    Level: Community
    Hi
    I am trying to calculate a sum from 3 fileds:

    the code is:
    $('warningnotice___balance_outstanding').value = parseInt($('warningnotice___debt_value').value) -
    parseInt($('warningnotice___payment_1').value));

    I have tried this as a javascript on all 3 fields and also on each field only.

    I have the default value of the balance_outstanding and payment_1 fields set to 0

    the debt_value filed is populated from the dbase table.

    I keep getting the following error.
    missing ; before statement

    Any Ideas
  2. cheesegrits Support Gopher

    Level: Community
    You've got one too many closing parens.

    -- hugh
Thread Status:
Not open for further replies.

Share This Page