How do I rewrite views field result programmatically? I want to change the link basing on another field value.
I have a field called room typ,e which is a reference to taxonomy terms (Bedroom / Meeting Room). The second field is the node ID, which I want to use to give the link of the page (there are two different page: Enquiry and Booking). If the selected term is Bedroom, I want to link the Booking page; if the selected term is Meeting room, the link should be Enquiry. I want to change the link text for Meeting room: It should be Enquire Now and Book Now.