0
edits
Changes
no edit summary
If you have an '''onloadfunc''' on multiple different User [[Role]]s then if a contact happens to have 2 roles that both have a Custom Field with '''onloadfunc''' defined you will run into this issue.
This can be avoided by creating an [[Browser Script]] Custom Field that is visible for all contacts using the '''User Custom Fields''' and/or '''Contact Custom Fields''' on [[Global Settings]]. That [[Browser Script]] custom field can have the '''onloadfunc''' that will be visible for all users, that will look for other functions defined on various roles to be called: