You need to sign in to do that
Don't have an account?
anil maliga
Error: Compile Error: Comparison arguments must be compatible types: String, Integer at line 3 column 4 please explain what is the problem in that?
trigger anyname on paytm__c (before insert,after update) {
for(paytm__c y:trigger.new){
if(y.phn_no__c<=10){
y.phn_no__c.adderror('hello enter vaild phone number');
}
}
}
for(paytm__c y:trigger.new){
if(y.phn_no__c<=10){
y.phn_no__c.adderror('hello enter vaild phone number');
}
}
}
All Answers