You need to sign in to do that
Don't have an account?
Hari nadh babu Eluru
Fee must be in between 0 to 5000
Hi there !
In this trigger apex code, The amount must be in between 0 to 5000 for Fee__c field
I tried above code
In this trigger apex code, The amount must be in between 0 to 5000 for Fee__c field
I tried above code
trigger Between_Values on Patient__c (before insert) { for(Patient__c a : trigger.new){ if(a.Fee__c >= 0 || a.Fee__c <= 5000){ a.Fee__c.adderror('Please enter amount b/w 0 to 5000'); } } }Please give me the suggestions to implement the functionality condition
Please update the code as below.
If this solution helps, Please mark it as best answer.
Thanks,
All Answers
Please update the code as below.
If this solution helps, Please mark it as best answer.
Thanks,
Try Below Code
Please Mark It As Best Answer If It Helps
Thank You!