You need to sign in to do that
Don't have an account?
AnonTestQuest
How to write a trigger and everything I need to run it in Sublime with SalesForce
I need to write a trigger to copy a custom rich text field to another custom rich text field on a custom object when they submit the form(the object). How should I write this trigger and do I need a class? And how do I test it? I am new to this stuff but can't find anything that works.
Thanks!
Thanks!
It's simples as to copy the value of normal field. Just provide some details about custom object name from source and target fields. I will provide you sample trigger code.
String.replaceAll('\\<.*?\\>', '');
v.VanaHCM__Job_Posting_Summary__c = v.VanaHCM__Internal_Position_Description__c;
where would I insert that?
thank you!
v.VanaHCM__Job_Posting_Summary__c = newValue.VanaHCM__Internal_Position_Description__c;
String newValue = v.VanaHCM__Internal_Position_Description__c;
v.VanaHCM__Job_Posting_Summary__c = newValue.replaceAll('\\<.*?\\>', '');