Hi,
I have a field that diplays time in the format
00:00:00
I also have another field that will hold a cost value based on the amount of time spent on the call
i.e. for instance
if time spent does not = 03:00:00 then cost equals £30
then for every part hour after that the cost increases by £10
so if the time = 03:10:00 then the cost will be £40.
can anyone explain some javascript code that I can use to do this so that onchange will populate the cost based on the time value.
any help would be much apopreciated
Regards
Paul
I have a field that diplays time in the format
00:00:00
I also have another field that will hold a cost value based on the amount of time spent on the call
i.e. for instance
if time spent does not = 03:00:00 then cost equals £30
then for every part hour after that the cost increases by £10
so if the time = 03:10:00 then the cost will be £40.
can anyone explain some javascript code that I can use to do this so that onchange will populate the cost based on the time value.
any help would be much apopreciated
Regards
Paul