Get the value of a relationship field type
minkyov - 3 months ago
Hello, I am currently developing a module of my own and I am using the relationship field from which I can choose options for when an event is happening (Fall 2015, Fall 2016, Spring 2015 and so on). Everything gets saved in the database as it's supposed to but I want to get the value that I have chosen and display it on the web page. In the database the value gets saved in a column named 'title'. Also when I try to display the value of semester (Fall 2015 ...) in the table builder under the semester column I probably get the slug of the field. Why is that? Can I somehow access this value and render it on the web page?
Thank you for the cooperation!