WPCubed Product Support

Hide mail merge field names possible?

I offer mail merge functionality in my application. When the user designs the mail merge template he can insert fields from a drop down menu. That works very well but there's a little catch. Suppose you use TABs to align a few things so that they look nice.

If there are mail merge fields with long and short names it can be difficult for the user to determine how to align them perfectly. The long field names could move things to the right a lot although when the mail merge is executed it is not that far right.

I hope I could get my point across. Is there a way to hide all field names so that only <<>> is displayed? This would solve the problem since then the user could switch between views.

#1 ♥ 0
2.5k Views 2 users read 1 min
support

Hi,

You can start MergeText and use the OnMailMegerGetText event to update the text which is displazed according to your needs. Either emptz, fieldname or the contents.

For text which does not span multiple paragraophs the Hidden propertz of AutomaticTextAtr can be used.

Julian

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