Purpose
Resets the widget, removing any existing tags, and reseting the display settings on the add and remove tag functions within the widget, and then adding the tags passed in.
Parameters
Parameter | Description |
---|---|
filemakerAddScript | The script to be called after a tag is added from within the widget. Calling the tagSubmit(tag) will not call this script, only the entry field in the widget itself will. |
filemakerRemoveScript | The script to be called after a tag is removed from within the widget. Calling the tagRemove(tag) will not call this script, only clicking the remove tag button next to the tag in the widget will. |
filemakerClickScript | The script to be called when a tag label is clicked. |
tagArray | A JSON Array of the tags to populate the widget with. |
showAddTags | A boolean value which determines whether the tag entry field should be displayed. Pass in 0 if users should not be able to add tags from within the widget. |
showRemoveButton | A boolean value which determines wether the remove buttons should be displayed next to the tags. Pass in 0 if users should not be able to remove the tags from within the widget. |