Notice on `isDuplicate` on profile form
Most profile screens show this notice.... depending on smarty mode / php version
The issue is that isDuplicate
is ONLY assigned when form validation occurs and then ONLY in a very specific scenario
From the url
civicrm/profile/create?reset=1&context=dialog&gid=5
If the contact matches an existing organization it fails & the duplicate contact code is invoked.
This url only appears in the context of an EntityReference field - ie if you go to enter employer & then choose 'new Organization' - @colemanw just wondering if you have any ideas about a more sane way to do this?