I entered values into every input field and submitted, but some result fields did not show anything while others showed "0". That makes me wonder if the other fields do not apply for this case, should be 0 as well, or if the calculation did not work. I entered 100 into each field and got these results:
ATA 4.04
Bottom Time 100 minutes
Bottom Mix 100%
Best Mix 2475%
MOD 19 feet
Working Depth 100 feet
Preferred PPO2
Actual PPO2 4.1
Percent of Single Dive CNS: 0
Percent of Daily CNS: 0
Single Dive OTU: 598
Minimum Bottom Gas 40400 cubic feet
Total Bottom Gas 60600 cubic feet
Deco ATA
Deco Time
Deco Mix
Deco MOD
Deco Depth
Deco PPO2
Minimum Deco Gas
Total Deco Gas
Total Daily CNS % 100
Total OTU 698
As you can see, the Deco (decompression??) values showed no results. If 0 is an acceptable result, show 0. You can achieve this by properly initializing variables as I mentioned in my earlier email. That way you do not need to code this later on. If that would not be correct, show "N/A" for not applicable.
All fields are now active.