WPCubed Product Support

Skip mergefield

I have mergefields and editfields. Is it possible to skip the
Editfields, so they remain the way they were
(with the opening and closing tags and text protected).

Greets Matthias

#1 ♥ 0
3.7k Views 2 users read 1 min

found it, just delete the desired tags:
Contents.Options + [mmDeleteThisField];

#2 ♥ 0
support

Hi,

mmDeleteThisField will delete a field after the contents was merged.

To skip the edit fields you can check for the flag wpobjWithinEditable in the Fields ObjMode property.

If the flag was set exit the OnMailMergeGetText routine.

Julian

#3 ♥ 0
This category is archived. No new posts are possible.