MinnPost / object-sync-for-salesforce

WordPress plugin that maps and syncs data between Salesforce objects and WordPress objects.
https://wordpress.org/plugins/object-sync-for-salesforce/
GNU General Public License v2.0
94 stars 51 forks source link

Add an option to prevent duplicate mapping of fields. Thanks to @TornMarketing for the request. #409

Closed jonathanstegall closed 3 years ago

jonathanstegall commented 3 years ago

What does this Pull Request do?

This changes the fieldmap screen so that if the settings are configured this way, any WordPress or Salesforce field that has been mapped is grayed out in the list of fields; it can't be mapped again. It does this on page load, and again anytime the selected options change.

If merged, this fixes #387.

How do I test this Pull Request?