Very good point Isaac!.. .)
---- John -----Original Message----- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 12:15 PM To: CF-Talk Subject: RE: javascript addition > In terms of interface design, its easier to auto-calc amounts, then you > kind of take out the human element... And if youre involving 10 fields > for some kind of calculation, and the value "they" enter is wrong, how > do you point to the incorrect amount in the appropriate field? (assuming > youve already set limits, and checked to make sure the values, if > numeric, are within that range). > > Its simpler to auto calc it for them. Although, you should also recheck > the math on the server by re-calculating the field amounts again, just > to be sure. ) > > hope any of this helps, Hey John, most of the time I agree with you... that is, when you're just summing up values that a user has given you and getting whatever total they produce, i.e. for a mortgage app where the user enters their financial info and all you want to know is their total annual income for their application. The exception is when the user is entering values which must add up to a given total which is required by some other external mechanism, i.e. in a grade-weighting schedule for an electronic report-card where grades for different types of assignments may be weighted differently, but the sum of all wieghts must add up to 100 ( making each point in the weighting schedule exactly 1% ). In order to calculate the percentage, you have to know the total points, so if you want to double-check the teachers to make sure their math adds up, you can enforce a 100pt total and you know that if their numbers don't add up to exactly 100 they need to check their math and make an adjustment. I _think_ he may be doing something similar to this, although I'm not certain of that... Isaac Dealey www.turnkey.to 954-776-0046 ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

