1. Home
  2. Docs
  3. Tags Add-on
  4. Putting it on a Layout

Putting it on a Layout

If you installed the widget as an add-on, just drag it out onto the desired layout. If you copied the elements over manually, just put a web viewer on your layout, and set the web address calculation to be the BF_Tags_HTML custom function. We will go over what each parameter needs to be in the next section.

Custom Function Parameters

The HTML for the web viewer in the widget is generated by the BF_Tags_HTML custom function. You setup you each instance of the widget by changing the parameters of this custom function.

There are 7 parameters for this custom function.

  1. The initial list of tags to display when the widget loads
  2. The name of the script to be called in FileMaker when a tag is added
  3. The name of the script to be called in FileMaker when a tag is removed.
  4. The name of the script to be called in FileMaker when a tag is clicked.
  5. The entry field display setting. Unless you want to make users not be able to enter values into the widget itself, enter true or 1, without quotes.
  6. The remove button display setting. Unless you want the users to not be able to remove values through the widget, enter True or 1, without quotes.
  7. Optional alternate CSS for the widget. If this is left blank it will use the default styling.

Articles

Was this article helpful to you? Yes No

How can we help?