bggann
Active Member
Sigh,
Why me.
Okay - I have a calculated field on a form. It takes 2 "time" element values and calculates the number of hours between them.
It calculates and renders correctly on the form.
When I submit - it writes correctly to the database table (checked in php).
2 further calculated fields that are based upon the it render on the form and write to the table correctly.
When I open the data in list view, this calculated value is 0.0 (not the stored value).
When I open the form view from that list, the calculated value is 0.0 (not the correct value)
The time elements it is based upon are loaded in the list/form correctly.
So - the data is calculated on the form correctly, written to the DB correctly, but not loaded into the list view or subsequent form views correctly
AJAX calcuation is on
Calculate on save only is NO
Calculate on load is NO (since nothing should have changed it, I should just read it from the DB).
Why me.
Okay - I have a calculated field on a form. It takes 2 "time" element values and calculates the number of hours between them.
It calculates and renders correctly on the form.
When I submit - it writes correctly to the database table (checked in php).
2 further calculated fields that are based upon the it render on the form and write to the table correctly.
When I open the data in list view, this calculated value is 0.0 (not the stored value).
When I open the form view from that list, the calculated value is 0.0 (not the correct value)
The time elements it is based upon are loaded in the list/form correctly.
So - the data is calculated on the form correctly, written to the DB correctly, but not loaded into the list view or subsequent form views correctly
AJAX calcuation is on
Calculate on save only is NO
Calculate on load is NO (since nothing should have changed it, I should just read it from the DB).