Hello,
I’m sure this is a really easy question to answer but I can’t seem to find much about it in the docs. What I would like to do is output different parts of a channel entry depending on whether or not a radio button is checked yes or no.
I have set up a radio button custom field in my channel, called it {extra_info} and have then given it 2 values, yes and no. What I would now like to do is in my template put in an if statement that basically says: if the {extra_info} radio button has yes checked display this portion of code otherwise display another portion of code.
I know this is a fairly straightforward if else statement but I can’t figure out how the syntax would work.
Thanks in advance for any help and let me know if you need any more info.