dpwsmw
11-02-2006, 09:15 PM
I need to script out some multiplication, but am having an issue, and cant seem to figure out why this is not working.
var sqrnow = (crmForm.all.new_esc_squarefeet.DataValue);
if (isNaN(sqrnow))
alert(' not a number');
var results = (3 * sqrnow);
crmForm.all.new_esc_squarefeet.DataValue = results;
Basically what i want to do is take the crmForm.all.new_esc_squarefeet.DataValue and multiply it by 3 then put that number into crmForm.all.new_esc_lightingrecpsqftx3w.DataValue
this isnt working for me... Any help would be appreciated.
Thanks in advance
var sqrnow = (crmForm.all.new_esc_squarefeet.DataValue);
if (isNaN(sqrnow))
alert(' not a number');
var results = (3 * sqrnow);
crmForm.all.new_esc_squarefeet.DataValue = results;
Basically what i want to do is take the crmForm.all.new_esc_squarefeet.DataValue and multiply it by 3 then put that number into crmForm.all.new_esc_lightingrecpsqftx3w.DataValue
this isnt working for me... Any help would be appreciated.
Thanks in advance