Trigger Examples: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 322: Line 322:


== Built-in Objects Examples ==
== Built-in Objects Examples ==
 
-----
=== Example: Extracting components from a Contact field into separate fields ===
=== Example: Extracting components from a Contact field into separate fields ===
Suppose you have a Contact field called myContact. If you would like the name, primary phone, and primary email as separate fields, create the fields, maybe ContactFullname, ContactPrimaryPhone, and ContactPrimaryEmail. The create two triggers, as follows:
Suppose you have a Contact field called myContact. If you would like the name, primary phone, and primary email as separate fields, create the fields, maybe ContactFullname, ContactPrimaryPhone, and ContactPrimaryEmail. The create two triggers, as follows:

Navigation menu