I'm working on a form for donation of leave, where an employee can donate up to a combined 24 hours of vacation and comp time to another employee when they need it and qualify for donations.
I have a field set up to calculate the sum of those two fields, and the error I've set up via the Error Messaging tab generates just fine when the sum is greater then 24, but the moment I make the field read-only, it no longer appears. Is there any way around this? If it's helpful, all three fields below are number fields with their values restricted from 0-24, and the error is set to generate when the value exceeds the maximum.
I don't necessarily need to display their total, I just need some sort of error to pop up and prevent them from submitting if their combined total exceeds 24. Any advice?