Forum Discussion
QuickBaseCoachD
6 years agoQrew Captain
You can set up a formula text field and set it to be unique in Field Properties.
The field should be called [You must only select 1 Primary Address]. You will see why I say that when you test.
The formula would be
IF([Primary?]=true, ToText([Related Location))
The effect will be that non Primary addresses will calculate to null, where duplicates nulls are in fact allowed for a field set to be unique. But if Primary then only 1 will be allowed. It's quick to set up and test the user experience.
The field should be called [You must only select 1 Primary Address]. You will see why I say that when you test.
The formula would be
IF([Primary?]=true, ToText([Related Location))
The effect will be that non Primary addresses will calculate to null, where duplicates nulls are in fact allowed for a field set to be unique. But if Primary then only 1 will be allowed. It's quick to set up and test the user experience.