Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: Live Field Calculations

  1. #21
    Join Date
    Nov 2007
    Thanked 0 Times in 0 Posts


    After attempting to bribe people to do this for me, I actually made some progress on my own:

    By god I am starting to actually understand this!

    There are a couple of things I am struggling with

    1. No matter which way I try, the calculations only work within the scope of a form. I'd like to use one form, but with lots of "calc" fieldsets

    2. I tried to use innerHTML and strong tags instead of inputs for the "each" fields, but cant get that working

    3. Totally lost on how to clone the entire table

    Any Ideas?

  2. #22
    Join Date
    Sep 2006
    Thanked 0 Times in 0 Posts


    It is really a great script youhave evolved. May I seek one more conditional request to be added to this script.

    If there is one more drop down field with BOUGHT & SOLD as selections, and on selecting BOUGHT the existing script will work as it is and if SOLD is selected then a reverse calculation occurs ie. "cost-charge=loss" instead of "charge-cost=profit".

    At the same time it is desired to have the script separately without having in form action, since te form can also be used for some other action like to post the values in database.

    Thank you all great developers.
    Last edited by immortal_king; 01-23-2011 at 03:35 AM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts