AnsweredAssumed Answered

Merge fields formatting

Question asked by mumu38 on May 13, 2016
Latest reply on May 13, 2016 by mumu38

Hi everybody,

 

I use merge fields in a text box with a specific text format for each field.

All fields are separated by a ¶

 

Here was my first try : I selected each line (double click) to apply the chosen text format

 

<UPPERCASE><<Field 1>></UPPERCASE>

<plain text><<Field 2>></plain text>

<plain text><<Field 3>></plain text>

<Bold><<Field 4>></Bold>

 

And here is what I got, when no field was empty :

 

FIELD 1

FIELD 2

Field 3

Field 4

 

Here is my second try : since the is not visible, I placed the pointer just after the field to extend the selection, including the ¶ :

<<Field 1>>

 

<UPPERCASE><<Field 1>></UPPERCASE><plain text>

<<Field 2>></plain text>

<<Field 3>></plain text><Bold>

<<Field 4>></Bold>

 

And here is what I got, when no field was empty :

 

FIELD 1

Field 2

Field 3

Field 4

 

But here is what I got when field 3 was empty

 

FIELD 1

Field 2

Field 4

 

So, I got what I wanted, by formatting like this :

 

<UPPERCASE><<Field 1>></UPPERCASE><Bold><plain text>

<<Field 2>></plain text><Bold>

<<Field 3>></plain text><Bold>

<<Field 4>></Bold>


And now I finally get what I expected :

 

FIELD 1

Field 2

Field 4

 

It works properly if Field 2 and 3 are both empty.

 

It took me no small amount of time to figure it out.

Since the   is not visible, I had to place the pointer just after the field to add a format :

<<Field 1>>┃, but, when it’s saved, it looks like the format is placed at the beginning of the next line (as it should be). Thus, if something is wrong you must do it again from the beginning.

 

Is it a specific malfunction on my Mac or a peculiarity of merge fields ?

I’ve not found any information on this bizarre formatting technique, neither in the FMP documentation nor in this forum discussions. But maybe I was not looking well enough.

Outcomes