Pod field inherit value from field in another pod
-
Is it possible to make a pod inherit the value from a field in another pod, based on each pod having the same title or some other matching criteria?
In my case, I have a POD called ‘Credit Cards’. Some of the credit cards have a special offer called a rebate, ‘Rebate Offers’ POD. But not all. A given rebate offer will have the same title as the credit card, and have an assigned rebate amount in $.
The issue is I need to be able to display the rebate amount on both credit card and rebate offer individual pages. So it seems I need them one to inherit from the other..?
I was also planning to use the following approach to ensure rebate offers match the credit card name (post title): https://docs.pods.io/code-snippets/update-post-title-with-values-from-other-fields-and-make-post-title-uneditable/
If you have any suggestions or ideas for a different approach to this, please let me know.
- The topic ‘Pod field inherit value from field in another pod’ is closed to new replies.