I work for a telephone system vendor and have to wear many hats. I'm IT, I install phone systems, I build the servers that house voicemail messages for one of our systems and I do web dev.
The other day they asked me to make a calculator that can add up phone equipment and give a total so quick quotes can be done on our Intranet.
I have rows that do quantity times MSRP, and I use an OnChange event handler so the numbers change as soon as the form field is out of focus. I then added up all of the columns to give a grand total. I then added error checking that made sure that more equipment wasn't bought than could possibly be assembled.
I love it when a script comes together and works right out of the gate. It's sort of a warm fuzzy feeling. 😀
The other day they asked me to make a calculator that can add up phone equipment and give a total so quick quotes can be done on our Intranet.
I have rows that do quantity times MSRP, and I use an OnChange event handler so the numbers change as soon as the form field is out of focus. I then added up all of the columns to give a grand total. I then added error checking that made sure that more equipment wasn't bought than could possibly be assembled.
I love it when a script comes together and works right out of the gate. It's sort of a warm fuzzy feeling. 😀