You need to sign in to do that
Don't have an account?
Christina Garcia
Error Message when percentage has been reached
I created a visual force page to render when a field has hit 100% or more. I'm not getting any errors, below is the code I'm using. Is there an easier way to do this? I want it to render every time a user is clicking on these Accounts.
<apex:page StandardController="Account"> <script> window.document.onload = new function(e)
{ if({!Account.Utilization__c != null && Account.Utilization__c > 1})
{ alert("This account is over 100 percent"); } }
</script> </apex:page>
Thanks so much!
<apex:page StandardController="Account"> <script> window.document.onload = new function(e)
{ if({!Account.Utilization__c != null && Account.Utilization__c > 1})
{ alert("This account is over 100 percent"); } }
</script> </apex:page>
Thanks so much!
Andrew Echevarria
A validation rule may be more useful to ensure organization-wide compliance.