Defining conditional formatting for layout objects
1. In Layout mode, select one or more objects.
2.
3. In the Conditional Formatting dialog box, click Add to define a new condition.
• To specify a format based on common conditions, for Condition choose Value is. Then choose one of the following conditions and set the parameters.
• To specify a format based on a calculation, for Condition choose Formula is. Then click Specify to define the calculation. For more information, see Specify Calculation dialog box.Tip Use the Self function to reference data for the selected object. For more information, see Self.To apply a conditional fill color to icons in .svg format — such as those used in buttons, popover buttons, button bars, and scrolling edit boxes — select Icon Color. (You can’t do this for buttons created using FileMaker Pro 12 or an earlier version.)
6. Click OK.
• To see which fields have conditional formatting, choose View menu > Show > Conditional Formatting. You see in fields or objects with conditional formatting.
Select the condition, then click Delete.
• You can set conditional formatting on the following layout objects: text, fields (including fields from external ODBC data sources), merge fields, layout symbols (date, time, page number, record number, and so on), buttons, button bars, web viewers, and tab panels and slide panels. Conditional formatting is not available for non-textual objects (such as a rectangular layout object) or placeholder text.
• To see the effects of conditional format settings while you work in Layout mode, choose View menu > Show > Sample Data. Note that your file must contain record data that meets the formatting criteria you have specified for conditional formatting to appear.
• When you use the Value is option with the predefined conditions less than x days passed or less than x days ahead, the current date is included in the number of days you specify.
• If the current day is 11/20/2014 when you specify less than 4 days passed:If the current day is 11/20/2014 when you specify less than 4 days ahead: