You need to sign in to do that
Don't have an account?
Manogna Kovi
I have two objects one is a standard object i.e Account and the other one is a custom object and their have a look up relations .I have created 3 text fields as A,B,C in custom object.
I have two objects one is a standard object i.e Account and the other one is a custom object and their have a look up relations .I have created 3 text fields as A,B,C in custom object.Now when I concatenate b/w A and B , the result should get displayed in C.when u type the value manually in field C ,it should throw the error.So which type of trigger is used and how wil u write the code?
You only need the ConCatinate value of A and B in C Field so why you need to throw error when user manually typing on this field ? ,
1.According to me You can make C field as readonly from pageLayout and populate C Value From trigger like this
Hope this may helps you and better practice:
In formula field , choose "Output type" : Text and then use the formula Like : A__c + B__c or need a space between them A__c + ' ' + B__c;
But by using this you cannot reused C field to entering manual data
Cheers
Rajesh