Min Max Value-Range validation in Apex 4
skahlertJul 14 2011 — edited Jul 19 2011Dear experts,
I am just upgrading my Apex applications from 3.1 and my previous validations work no longer!
Could someone please post an example how to create a min, max value validation in Apex 4.x?
I have tabular forms and need to check whether an input field is at least 1 or if it is 100 at max.
Furthermore I need to crosscheck values of different fields for min, max and average values.
For example if the min value is 1 then max needs to be at least 2 and the average 1.5. How could I achieve this in Apex 4.0?
If anybody has an idea or example please be so kind and share your knowledge with me!
Many thanks and best regards,
Seb