I have a TOTAL field which is the sum of two other fields in a form. I have disabled it as the user should not be allowed to enter the value. The TOTAL field is showing the sum of the values in the front end, but in the back-end, the value is null. Please help me resolve this.Thanks in Advance.
I might not know the actual issue. If you can post it on apex.oracle.com, it will be easier to debug.
Another quick resolution if you need, you can continue using disabled item on front end, but at back end, sum the initial items again to process the results.
Hope it helps.
Disabled items do not get submitted per html specs. This means submitting a page will not have a value to set in the session state of that item. And so your total is not set on the server-side. If you need it at the server-side, remove the disabled attribute before submit, make the item read-only instead (not editable by user but will submit), or do the calculation again (eg computation).
Are you tried to make the item read-only?? Make the item read-only and try. You can make the item read-only by two following methods,
1) Edit the Item-> Go to Read Only tab-> Read Only Condition Type: Always
make the item read-only instead (not editable by user but will submit)
Assign the total value to the item using DA. No need to enable the item before submit because the item is not disabled. Make the item as read-only so that it will submit the value to the session and item will not be editable always.