MattBaldry
Self Taught, Learn from the Forums
- Local time
- Today, 13:00
- Joined
- Feb 5, 2019
- Messages
- 293
Hi all. I am working on an application and I want to add a "Default" feature to some options. One as detailed below.
Each customer will have a list of contacts stored in a separate table. I have now added a contact type table so you can add multiple phone numbers and other contact methods to them with the ever changing list of mediums. I want to be able to assign a check box that allows the user to select the default contact method (this would normally be email).
How would I make it so that when a new default method is selected, it de-selects the old one allowing only 1 default per contact?
This would also then be used in other areas of the application using the same method.
~Matt
Each customer will have a list of contacts stored in a separate table. I have now added a contact type table so you can add multiple phone numbers and other contact methods to them with the ever changing list of mediums. I want to be able to assign a check box that allows the user to select the default contact method (this would normally be email).
How would I make it so that when a new default method is selected, it de-selects the old one allowing only 1 default per contact?
This would also then be used in other areas of the application using the same method.
~Matt