I recently upgraded from 2.5.5 to 2.7 and I am doing a number of fixes to make my code up compatible with the new version.
I have a channel field called foo which is of the Relationships fieldtype.
When I tried outputting {foo} it outputs 0
{exp:channel:form
channel="a_channel"
}
...
{foo} <-- outputs 0
{/exp:channel:form}My problem is, how do I get the id of the currently chosen foo value?