Ok 1 more question for you bofins today
A form I have has the following fields
Start Time {st} “time”
Finish Time {ft} “time”
Overtime {ot} “int”
Overtime x2 {ot2} “int”
Total {t} “int”
The start and finish times use the timepicker function which is saved as 23:30 (11:30pm) so 24hr or mitilary time whatever you want to call it and the other fields are just standard 2 decimal place numbers eg: ot=2.25, I may look at making this a dropdown or similar formatted field???
What I need to work out is how to convert this military time to a decimal and add the final 2 fields together before giving a final result all on the fly if possible… I currently have a onchange {t}={ot2}+{ot} working but the time conversion part is confusing.
I’m not that experianced in any form of programming so a laymans explanation would be appreciated.