SerenityNet
Registered User.
- Local time
- Today, 05:51
- Joined
- May 6, 2003
- Messages
- 27
Say I have four fields, only one of which will be submitted to the DB. Form field one is "Time_In" (short time). Form field two is "Time_Out" (short time). Form field three is "Time_Wasted" (minutes?). Form field four is "Time_Worked" (minutes?). Only form field four will be submitted to the DB.
I want to have form field four default to a value calculated by (Time_Out minus Time_In) minus Time_Wasted.
However, I don't have a clue as how to accomplish this.
Any help will be appreciated.
Andrew
I want to have form field four default to a value calculated by (Time_Out minus Time_In) minus Time_Wasted.

Any help will be appreciated.
Andrew