AnsweredAssumed Answered

How can I set a unique "priority" field in a set of portal records?

Question asked by disabled_Luna.media on Nov 1, 2015
Latest reply on Nov 1, 2015 by Mike_Mitchell

Hi,

 

I have a (common) case that contacts have several phone numbers (work. private, mobil, work fax, private fax etc,). I have a field in the numbers table that indicates if a number is the main-number (what I meant with "priority" in my titel here).

 

The first number I add to a contact always gets this field set. Now I want to be able to change that if further numbers are added. I use an option-field, but can not get it work how I make all others de-selected (in an elegant way) when a new "main"-number is clicked.

 

Ideas for the best way to do it?

 

Thanks!

Outcomes